diff options
author | Volker Lendecke <vl@samba.org> | 2009-05-02 13:12:57 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-05-02 13:14:14 +0200 |
commit | 4b3e89c2e7f5e36edd436fccefb852a616ef2110 (patch) | |
tree | 7dc2db33832af714fe97a8d01c9b123a65f237d8 | |
parent | 60d77096cb5d4ebfb756963deb0c25b1f046a61a (diff) | |
download | samba-4b3e89c2e7f5e36edd436fccefb852a616ef2110.tar.gz samba-4b3e89c2e7f5e36edd436fccefb852a616ef2110.tar.bz2 samba-4b3e89c2e7f5e36edd436fccefb852a616ef2110.zip |
Fix Coverity 911: FORWARD_NULL. Metze, please check!
-rw-r--r-- | source4/smbd/service_stream.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/smbd/service_stream.c b/source4/smbd/service_stream.c index e09ac1d9e6..4d36d78695 100644 --- 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; } |