diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-07-27 16:20:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:15:05 -0500 |
commit | 9c8fa196ba31b63e7632df8216ae11c7ce2ce9de (patch) | |
tree | 5dc1967e40972a93c5409af824b8e16e18616b4a /source4/libcli/smb_composite | |
parent | 61d620012d8e13b6a9c95444db9de7dc31427a37 (diff) | |
download | samba-9c8fa196ba31b63e7632df8216ae11c7ce2ce9de.tar.gz samba-9c8fa196ba31b63e7632df8216ae11c7ce2ce9de.tar.bz2 samba-9c8fa196ba31b63e7632df8216ae11c7ce2ce9de.zip |
r17277: 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
(This used to be commit e231eba828486e68c9d3a246e1e0c943fdb8301c)
Diffstat (limited to 'source4/libcli/smb_composite')
-rw-r--r-- | source4/libcli/smb_composite/sesssetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb_composite/sesssetup.c b/source4/libcli/smb_composite/sesssetup.c index 0bad2ff1ad..022faea1d7 100644 --- a/source4/libcli/smb_composite/sesssetup.c +++ b/source4/libcli/smb_composite/sesssetup.c @@ -462,7 +462,7 @@ struct composite_context *smb_composite_sesssetup_send(struct smbcli_session *se /* 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; } |