svn commit: samba r18014 - in branches/SAMBA_3_0/source/libsmb: .
derrell at samba.org
derrell at samba.org
Sun Sep 3 02:28:23 GMT 2006
Author: derrell
Date: 2006-09-03 02:28:22 +0000 (Sun, 03 Sep 2006)
New Revision: 18014
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18014
Log:
revert a possibly unnecessary change
Modified:
branches/SAMBA_3_0/source/libsmb/clientgen.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/clientgen.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clientgen.c 2006-09-03 02:10:24 UTC (rev 18013)
+++ branches/SAMBA_3_0/source/libsmb/clientgen.c 2006-09-03 02:28:22 UTC (rev 18014)
@@ -79,6 +79,7 @@
BOOL cli_receive_smb(struct cli_state *cli)
{
+ extern int smb_read_error;
BOOL ret;
/* fd == -1 causes segfaults -- Tom (tom at ninja.nl) */
@@ -108,7 +109,7 @@
/* If the server is not responding, note that now */
if (!ret) {
DEBUG(0, ("Receiving SMB: Server stopped responding\n"));
- cli->smb_rw_error = READ_TIMEOUT;
+ cli->smb_rw_error = smb_read_error;
close(cli->fd);
cli->fd = -1;
return ret;
More information about the samba-cvs
mailing list