diff options
author | runge <runge> | 2007-05-17 01:39:18 +0000 |
---|---|---|
committer | runge <runge> | 2007-05-17 01:39:18 +0000 |
commit | 13ad9f494048fbcc983f580caaec0119153f29c8 (patch) | |
tree | d5151bc98e034f30d2c4dcedeb560a74766e3694 /libvncserver/tightvnc-filetransfer | |
parent | a549c3aaffd8654c24221f4806f08bb1200583a6 (diff) | |
download | libtdevnc-13ad9f494048fbcc983f580caaec0119153f29c8.tar.gz libtdevnc-13ad9f494048fbcc983f580caaec0119153f29c8.zip |
Pre-C99 declaration error.
Diffstat (limited to 'libvncserver/tightvnc-filetransfer')
-rw-r--r-- | libvncserver/tightvnc-filetransfer/rfbtightserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/tightvnc-filetransfer/rfbtightserver.c b/libvncserver/tightvnc-filetransfer/rfbtightserver.c index e2c6594..a24666b 100644 --- a/libvncserver/tightvnc-filetransfer/rfbtightserver.c +++ b/libvncserver/tightvnc-filetransfer/rfbtightserver.c @@ -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 " |