Lines Matching refs:reasonLen
509 uint32_t authResult=0, reasonLen=0; in rfbHandleAuthResult() local
525 if (!ReadFromRFBServer(client, (char *)&reasonLen, 4)) return FALSE; in rfbHandleAuthResult()
526 reasonLen = rfbClientSwap32IfLE(reasonLen); in rfbHandleAuthResult()
527 reason = malloc(reasonLen+1); in rfbHandleAuthResult()
528 if (!ReadFromRFBServer(client, reason, reasonLen)) { free(reason); return FALSE; } in rfbHandleAuthResult()
529 reason[reasonLen]=0; in rfbHandleAuthResult()
549 uint32_t reasonLen; in ReadReason() local
553 if (!ReadFromRFBServer(client, (char *)&reasonLen, 4)) return; in ReadReason()
554 reasonLen = rfbClientSwap32IfLE(reasonLen); in ReadReason()
555 reason = malloc(reasonLen+1); in ReadReason()
556 if (!ReadFromRFBServer(client, reason, reasonLen)) { free(reason); return; } in ReadReason()
557 reason[reasonLen]=0; in ReadReason()