Merge branch 't/versioning_improvements'
[paraslash.git] / client.c
index 3587a971abe9f4ee4b72c7252533de0fa3af0d6c..2d6ef31f590bca1736d458cc61c4fbe67459641b 100644 (file)
--- a/client.c
+++ b/client.c
@@ -445,11 +445,9 @@ static int client_i9e_line_handler(char *line)
        int ret;
 
        client_disconnect(ct);
-       if (!line || !*line)
-               return 0;
-       PARA_DEBUG_LOG("line handler: %s\n", line);
+       PARA_DEBUG_LOG("line: %s\n", line);
        ret = make_client_argv(line);
-       if (ret < 0)
+       if (ret <= 0)
                return ret;
        ret = client_connect(ct, &sched, NULL, NULL);
        if (ret < 0)