diff options
author | Jeremy Allison <jra@samba.org> | 2008-10-29 16:43:19 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-10-29 16:43:19 -0700 |
commit | 680975d07bb071238b3099c4b54a7c564668183a (patch) | |
tree | 362d936eb082879bbe556b6f5c22495d3f98c817 /source3/modules | |
parent | 35ef924f33a7b5e74d9319e6fdd4092cdf625f77 (diff) | |
download | samba-680975d07bb071238b3099c4b54a7c564668183a.tar.gz samba-680975d07bb071238b3099c4b54a7c564668183a.tar.bz2 samba-680975d07bb071238b3099c4b54a7c564668183a.zip |
Fix CID 606 - failed to return -1 after socket() fail.
Jeremy.
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_smb_traffic_analyzer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_smb_traffic_analyzer.c b/source3/modules/vfs_smb_traffic_analyzer.c index 9456afb811..63cc904bed 100644 --- 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, |