]> arthur.barton.de Git - netatalk.git/commitdiff
Don't timeout when waiting for client requests
authorRalph Boehme <sloowfranklin@gmail.com>
Thu, 18 Apr 2013 08:55:45 +0000 (10:55 +0200)
committerRalph Boehme <sloowfranklin@gmail.com>
Thu, 18 Apr 2013 08:55:45 +0000 (10:55 +0200)
From FR #78

libatalk/dsi/dsi_stream.c

index 05c36fc8eaf290e06b62496f26ed60f6e8b8bce9..94890dd8014341bbe6ccb02393f35a5456c9775c 100644 (file)
@@ -185,7 +185,7 @@ static ssize_t buf_read(DSI *dsi, uint8_t *buf, size_t count)
     if (len)
         return len;             /* 2. */
   
-    len = readt(dsi->socket, buf, count, 0, 1); /* 3. */
+    len = readt(dsi->socket, buf, count, 0, 0); /* 3. */
 
     LOG(log_maxdebug, logtype_dsi, "buf_read(%u bytes): got: %d", count, len);