diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-11 09:35:38 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-12 11:08:00 +0200 |
commit | c01b8326e05c4113e3e979e02061fbc47476dadd (patch) | |
tree | 6d9cc7a6ea9c2eda41ad775794e5ac55cae9442a /source3/libsmb/libsmb_dir.c | |
parent | 6b3a12b0f4c38c87a1f1ff4227ab78ac7624289d (diff) | |
download | samba-c01b8326e05c4113e3e979e02061fbc47476dadd.tar.gz samba-c01b8326e05c4113e3e979e02061fbc47476dadd.tar.bz2 samba-c01b8326e05c4113e3e979e02061fbc47476dadd.zip |
s3:libsmb: add cli_state_notify_pending() and use it
If we got a problem on the connection we need to notify every
pending request. But we need to make use of tevent_req_defer_callback()
before tevent_req_nterror(), otherwise the callback, triggered
by tevent_req_nterror(), could invalidate the state of current caller,
which will likely cause segfaults.
metze
Diffstat (limited to 'source3/libsmb/libsmb_dir.c')
0 files changed, 0 insertions, 0 deletions