summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-12-17 21:07:23 +0000
committerMark Spruiell <mes@zeroc.com>2004-12-17 21:07:23 +0000
commitdbc01ae7058c69e4d4ad9d0aa34b8b27ce918ead (patch)
treedb6b02f489d86b08342692e3966b92412b990039 /cpp/src/IcePack/Client.cpp
parentadding SSL support (diff)
downloadice-dbc01ae7058c69e4d4ad9d0aa34b8b27ce918ead.tar.bz2
ice-dbc01ae7058c69e4d4ad9d0aa34b8b27ce918ead.tar.xz
ice-dbc01ae7058c69e4d4ad9d0aa34b8b27ce918ead.zip
bug fix for argument parsing
Diffstat (limited to 'cpp/src/IcePack/Client.cpp')
-rw-r--r--cpp/src/IcePack/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePack/Client.cpp b/cpp/src/IcePack/Client.cpp
index af13f9c42d7..83c06679c20 100644
--- a/cpp/src/IcePack/Client.cpp
+++ b/cpp/src/IcePack/Client.cpp
@@ -161,7 +161,7 @@ Client::run(int argc, char* argv[])
int status = EXIT_SUCCESS;
- if(argc < 2) // No files given
+ if(args.empty()) // No files given
{
if(!commands.empty()) // Commands were given
{