From 66f5060e3836b1cfb3e635f30d8469c2bf16cf08 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 7 Feb 2003 05:29:33 +0000 Subject: [PATCH] smb_stack() must return SMB_SUCCESS (0) if messge base is not open. --- src/smblib/smblib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smblib/smblib.c b/src/smblib/smblib.c index df35a7882b..64c6cc4030 100644 --- a/src/smblib/smblib.c +++ b/src/smblib/smblib.c @@ -346,7 +346,7 @@ int SMBCALL smb_stack(smb_t* smb, int op) return(SMB_FAILURE); } if(smb->shd_fp==NULL || smb->sdt_fp==NULL || smb->sid_fp==NULL) - return(SMB_ERR_NOT_OPEN); /* Msg base not open */ + return(SMB_SUCCESS); /* Msg base not open, do nothing */ memcpy(&stack[stack_idx],smb,sizeof(smb_t)); stack_idx++; return(SMB_SUCCESS); -- GitLab