git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d7709
)
Fix Coverity 911: FORWARD_NULL. Metze, please check!
author
Volker Lendecke
<vl@samba.org>
Sat, 2 May 2009 11:12:57 +0000
(13:12 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 2 May 2009 11:14:14 +0000
(13:14 +0200)
source4/smbd/service_stream.c
patch
|
blob
|
history
diff --git
a/source4/smbd/service_stream.c
b/source4/smbd/service_stream.c
index e09ac1d9e6a7e185295dae60e406d38c1fcc7182..4d36d78695a4554490eb66833f2e3cd1dfcc61a1 100644
(file)
--- a/
source4/smbd/service_stream.c
+++ b/
source4/smbd/service_stream.c
@@
-328,7
+328,8
@@
NTSTATUS stream_setup_socket(struct tevent_context *event_context,
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("Failed to listen on %s:%u - %s\n",
- sock_addr, *port, nt_errstr(status)));
+ sock_addr, port ? (unsigned int)(*port) : 0,
+ nt_errstr(status)));
talloc_free(stream_socket);
return status;
}