]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod_command.c
GIT-VERSION-GEN: Don't include output of git update-index.
[paraslash.git] / audiod_command.c
index 35b76b5f6fa277ea2aa55656f557b32ef36b5585..b49d659e0ac0bd784b2002b941b3471540ee5ac9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2013 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -442,7 +442,7 @@ int handle_connect(int accept_fd, fd_set *rfds)
        if (ret < 0)
                goto out;
        ret = create_argv(buf, "\n", &argv);
-       if (ret < 0)
+       if (ret <= 0)
                goto out;
        argc = ret;
        //PARA_INFO_LOG("argv[0]: %s, argc = %d\n", argv[0], argc);