read_smb_length: Use correct function name in debug message
authorMichael Hanselmann <public@hansmi.ch>
Wed, 8 May 2019 22:32:41 +0000 (00:32 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 May 2019 01:15:16 +0000 (01:15 +0000)
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/reply.c

index c1060e52b993d1384e0860f5edc13b2b6923f12c..199542e8ae0da8b4a473dce54d2d36161b68e973 100644 (file)
@@ -4387,7 +4387,7 @@ static NTSTATUS read_smb_length(int fd, char *inbuf, unsigned int timeout,
                        char addr[INET6_ADDRSTRLEN];
                        /* Try and give an error message
                         * saying what client failed. */
-                       DEBUG(0, ("read_fd_with_timeout failed for "
+                       DEBUG(0, ("read_smb_length_return_keepalive failed for "
                                  "client %s read error = %s.\n",
                                  get_peer_addr(fd,addr,sizeof(addr)),
                                  nt_errstr(status)));