]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - client.c
string: Clean up for_each_line() and related functions.
[paraslash.git] / client.c
index 8e3e021d90249f44a0c655c493eb1198ed9f71cf..715df9c6a3aa8b107ef4bcfdffaad9a0c1abea2f 100644 (file)
--- a/client.c
+++ b/client.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1997-2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 1997-2013 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -612,7 +612,7 @@ int main(int argc, char *argv[])
                case -E_BTR_EOF:
                        ret = 0;
                        break;
-               default: ret = ct->task.error;
+               default: ret = -E_SERVER_CMD_FAILURE;
                }
        }
 out: