summaryrefslogtreecommitdiff
path: root/source3/libsmb/read_smb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/read_smb.c')
-rw-r--r--source3/libsmb/read_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/read_smb.c b/source3/libsmb/read_smb.c
index f530633c9f..ecedcfbe9d 100644
--- a/source3/libsmb/read_smb.c
+++ b/source3/libsmb/read_smb.c
@@ -84,7 +84,7 @@ static void read_smb_done(struct tevent_req *subreq)
return;
}
- if (CVAL(state->buf, 0) == SMBkeepalive) {
+ if (CVAL(state->buf, 0) == NBSSkeepalive) {
subreq = read_packet_send(state, state->ev, state->fd, 4,
read_smb_more, NULL);
if (tevent_req_nomem(subreq, req)) {