diff options
-rw-r--r-- | libcli/named_pipe_auth/npa_tstream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcli/named_pipe_auth/npa_tstream.c b/libcli/named_pipe_auth/npa_tstream.c index 57e841860c..fdb55c7e82 100644 --- a/libcli/named_pipe_auth/npa_tstream.c +++ b/libcli/named_pipe_auth/npa_tstream.c @@ -458,6 +458,9 @@ static ssize_t tstream_npa_pending_bytes(struct tstream_context *stream) case FILE_TYPE_MESSAGE_MODE_PIPE: ret = npas->pending.iov_len; break; + + default: + ret = -1; } return ret; |