- fix a bug handling readraw packets that caused the timeout to be 30
[kai/samba.git] / source3 / smbd / trans2.c
index 321dabc72cf280b976ad31b7aa39e7c99c817969..9b5419010e2d68a5a09089c4e8b07ff11df6feb0 100644 (file)
@@ -1554,7 +1554,7 @@ int reply_trans2(char *inbuf,char *outbuf,int length,int bufsize)
 
       while( num_data_sofar < total_data || num_params_sofar < total_params)
        {
 
       while( num_data_sofar < total_data || num_params_sofar < total_params)
        {
-         if(!receive_smb(Client,inbuf, SMB_SECONDARY_WAIT*1000) ||
+         if(!receive_smb(Client,inbuf, SMB_SECONDARY_WAIT) ||
             CVAL(inbuf, smb_com) != SMBtranss2)
            {
              outsize = set_message(outbuf,0,0,True);
             CVAL(inbuf, smb_com) != SMBtranss2)
            {
              outsize = set_message(outbuf,0,0,True);