]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/getmsg.c
Add new files
[bacula/bacula] / bacula / src / dird / getmsg.c
index 0e5eceae069241d47010c9545910289b4cb41ccf..b2309f37091e4b5e511430ad9bf2390b83fcf78c 100644 (file)
@@ -113,7 +113,7 @@ int bget_dirmsg(BSOCK *bs)
      
       /* Handle normal data */
 
-      if (B_ISDIGIT(bs->msg[0])) {     /* response? */
+      if (n > 0 && B_ISDIGIT(bs->msg[0])) {     /* response? */
         return n;                    /* yes, return it */
       }