Pre-C99 declaration error.

pull/1/head
runge 18 years ago
parent a549c3aaff
commit 13ad9f4940

@ -464,10 +464,10 @@ rfbTightProcessArg(int argc, char *argv[]) {
void
rfbHandleSecTypeTight(rfbClientPtr cl) {
rfbLog("tightvnc-filetransfer/rfbHandleSecTypeTight\n");
rfbTightClientPtr rtcp = (rfbTightClientPtr) malloc(sizeof(rfbTightClientRec));
rfbLog("tightvnc-filetransfer/rfbHandleSecTypeTight\n");
if(rtcp == NULL) {
/* Error condition close socket */
rfbLog("Memory error has occured while handling "

Loading…
Cancel
Save