summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-05-05 11:35:09 +0000
committerAndrew Tridgell <tridge@samba.org>1996-05-05 11:35:09 +0000
commit2ef2593c92573d8cf042b0163cb9526335d661ff (patch)
treeccbc41f9f9aea0f1ed7c6433221070f625e90e0f /source3
parentefdeaf4cf626348fd90dffebaec6169af5634e53 (diff)
downloadsamba-2ef2593c92573d8cf042b0163cb9526335d661ff.tar.gz
samba-2ef2593c92573d8cf042b0163cb9526335d661ff.tar.xz
samba-2ef2593c92573d8cf042b0163cb9526335d661ff.zip
made dptr_num signed to handle -1 from OS/2
(This used to be commit d2c5ab135ca7ee6366f5f8733440318a724a4378)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 9d02123cf8..f158aae357 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1444,7 +1444,7 @@ int reply_findclose(char *inbuf,char *outbuf,int length,int bufsize)
{
int cnum;
int outsize = 0;
- uint16 dptr_num=SVAL(inbuf,smb_vwv0);
+ int16 dptr_num=SSVAL(inbuf,smb_vwv0);
cnum = SVAL(inbuf,smb_tid);