Lines Matching defs:pszMsgText
244 char *pszMsgText = strchr(szMsg, ';');
245 if (pszMsgText)
246 *pszMsgText++ = '\0';
261 if (pszMsgText)
263 pszMsgText = RTStrStrip(pszMsgText);
264 for (size_t off = 0; pszMsgText[off]; off++)
265 if (pszMsgText[off] == '\r')
266 pszMsgText[off] = '\n';
268 LogRel(("Teleporter: %s: NACK=%Rrc (%d) - '%s'\n", pszWhich, vrc2, vrc2, pszMsgText));
269 if (strlen(pszMsgText) > 4)
270 return setError(E_FAIL, "%s", pszMsgText);
271 return setError(E_FAIL, "NACK(%s) - %Rrc (%d) '%s'", pszWhich, vrc2, vrc2, pszMsgText);
277 if (pszMsgText)
278 pszMsgText[-1] = ';';
1218 static int teleporterTcpWriteNACK(TeleporterStateTrg *pState, int32_t rc2, const char *pszMsgText = NULL)
1228 if (pszMsgText && *pszMsgText)
1230 cch = RTStrPrintf(szMsg, sizeof(szMsg), "NACK=%d;%s\n", rc2, pszMsgText);