aboutsummaryrefslogtreecommitdiff
path: root/dummy_client.c
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-07-02 14:47:46 -0400
committerFranklin Wei <me@fwei.tk>2018-07-02 14:47:46 -0400
commit0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87 (patch)
tree7a44c3e9996dc76a95ad90758edf26efc495b37b /dummy_client.c
parent4d780768c7fd6378b30ef5a1fee348b2c925b20d (diff)
downloadcsaa-0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87.zip
csaa-0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87.tar.gz
csaa-0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87.tar.bz2
csaa-0c51f1ee4f2fb9178cf3efc25f4b91c2e08b2c87.tar.xz
Fix test scripts
Fixes issue where dummy script wouldn't actually do anything.
Diffstat (limited to 'dummy_client.c')
-rw-r--r--dummy_client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dummy_client.c b/dummy_client.c
index fe66b1b..1720cdc 100644
--- a/dummy_client.c
+++ b/dummy_client.c
@@ -148,8 +148,9 @@ bool parse_args(int argc, char *argv[])
}
else
{
- parse_args_fail = "Unknown parameter";
- return false;
+ /* ignore unknowns */
+ //parse_args_fail = "Unknown parameter";
+ //return false;
}
}
if(cl_request.type != USERREQ_NONE && user_id != 0)