summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_sock.c2
-rw-r--r--source3/libsmb/clierror.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 16b457c413..47f1d507ed 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -815,7 +815,7 @@ int open_socket_in( int type, int port, int dlevel, uint32 socket_addr, BOOL reb
#ifdef SO_REUSEPORT
if( setsockopt(res,SOL_SOCKET,SO_REUSEPORT,(char *)&val,sizeof(val)) == -1 ) {
if( DEBUGLVL( dlevel ) ) {
- dbgtext( "open_socket_in(): setsockopt: "
+ dbgtext( "open_socket_in(): setsockopt: ");
dbgtext( "SO_REUSEPORT = %d ", val?"True":"False" );
dbgtext( "on port %d failed ", port );
dbgtext( "with error = %s\n", strerror(errno) );
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c
index f485d328e2..22c5dbaf77 100644
--- a/source3/libsmb/clierror.c
+++ b/source3/libsmb/clierror.c
@@ -219,7 +219,7 @@ int cli_errno(struct cli_state *cli)
{
NTSTATUS status;
- if (cli_is_dos_error) {
+ if (cli_is_dos_error(cli)) {
uint8 eclass;
uint32 ecode;