svn commit: samba r17277 - in branches/SAMBA_4_0/source/libcli/smb_composite: .

metze at samba.org metze at samba.org
Thu Jul 27 16:21:00 GMT 2006


Author: metze
Date: 2006-07-27 16:20:59 +0000 (Thu, 27 Jul 2006)
New Revision: 17277

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17277

Log:
we need to trigger an event when we return directly,
otherwise the callers callback function will not be called
and the caller is hanging forever...

metze
Modified:
   branches/SAMBA_4_0/source/libcli/smb_composite/sesssetup.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/smb_composite/sesssetup.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/smb_composite/sesssetup.c	2006-07-27 15:23:46 UTC (rev 17276)
+++ branches/SAMBA_4_0/source/libcli/smb_composite/sesssetup.c	2006-07-27 16:20:59 UTC (rev 17277)
@@ -462,7 +462,7 @@
 	/* no session setup at all in earliest protocol varients */
 	if (session->transport->negotiate.protocol < PROTOCOL_LANMAN1) {
 		ZERO_STRUCT(io->out);
-		c->state = COMPOSITE_STATE_DONE;
+		composite_done(c);
 		return c;
 	}
 



More information about the samba-cvs mailing list