git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a24fe
)
libcli/named_pipe_auth: fix error handling in _tstream_npa_connect_recv()
author
Stefan Metzmacher
<metze@samba.org>
Mon, 21 Jun 2010 14:20:25 +0000
(16:20 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 21 Jun 2010 14:20:25 +0000
(16:20 +0200)
metze
libcli/named_pipe_auth/npa_tstream.c
patch
|
blob
|
history
diff --git
a/libcli/named_pipe_auth/npa_tstream.c
b/libcli/named_pipe_auth/npa_tstream.c
index 59d3a97dc0b127dbdfea98821ac51d064ed0fe6f..f6ce951ef0b2079bc2808f24c02b8487c026957f 100644
(file)
--- a/
libcli/named_pipe_auth/npa_tstream.c
+++ b/
libcli/named_pipe_auth/npa_tstream.c
@@
-420,6
+420,8
@@
int _tstream_npa_connect_recv(struct tevent_req *req,
struct tstream_npa,
location);
if (!stream) {
+ *perrno = ENOMEM;
+ tevent_req_received(req);
return -1;
}
ZERO_STRUCTP(npas);