diff options
author | runge <runge> | 2007-08-04 00:49:17 +0000 |
---|---|---|
committer | runge <runge> | 2007-08-04 00:49:17 +0000 |
commit | 0f162f1f0b462a5b088c57ef3461dd7ecbf24d13 (patch) | |
tree | 9a0fc8c8a814295b85ab6fa40e022d23813d5784 /libvncclient | |
parent | c4c92d3a36c99ccf4bfe9e97cff41b96f147ab6d (diff) | |
download | libtdevnc-0f162f1f0b462a5b088c57ef3461dd7ecbf24d13.tar.gz libtdevnc-0f162f1f0b462a5b088c57ef3461dd7ecbf24d13.zip |
argv > 0 doesn't make sense for a pointer; assuming argv != NULL.
Diffstat (limited to 'libvncclient')
-rw-r--r-- | libvncclient/vncviewer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c index ffb0976..498f14a 100644 --- a/libvncclient/vncviewer.c +++ b/libvncclient/vncviewer.c @@ -238,7 +238,7 @@ static rfbBool rfbInitConnection(rfbClient* client) rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv) { int i,j; - if(argv>0 && argc && *argc) { + if(argv && argc && *argc) { if(client->programName==0) client->programName=argv[0]; |