git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ef924
)
Fix CID 606 - failed to return -1 after socket() fail.
author
Jeremy Allison
<jra@samba.org>
Wed, 29 Oct 2008 23:43:19 +0000
(16:43 -0700)
committer
Jeremy Allison
<jra@samba.org>
Wed, 29 Oct 2008 23:43:19 +0000
(16:43 -0700)
Jeremy.
source3/modules/vfs_smb_traffic_analyzer.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_smb_traffic_analyzer.c
b/source3/modules/vfs_smb_traffic_analyzer.c
index 9456afb81128cfa0527a4a9fcd67ee218fdf79f3..63cc904bed1779cd57ef0b8bdae8a81584820ceb 100644
(file)
--- a/
source3/modules/vfs_smb_traffic_analyzer.c
+++ b/
source3/modules/vfs_smb_traffic_analyzer.c
@@
-123,6
+123,7
@@
static int smb_traffic_analyzer_connect_unix_socket(vfs_handle_struct *handle,
DEBUG(1, ("smb_traffic_analyzer_connect_unix_socket: "
"Couldn't create socket, "
"make sure stad is running!\n"));
+ return -1;
}
remote.sun_family = AF_UNIX;
strlcpy(remote.sun_path, name,