summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 409fe7135c..a6b5d980f9 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -2282,7 +2282,7 @@ int read_smb_length(int fd,char *inbuf,int timeout)
for(;;)
{
- len = read_smb_length(fd, inbuf, timeout);
+ len = read_smb_length_return_keepalive(fd, inbuf, timeout);
if(len < 0)
return len;