fixed typo
authorAndrew Tridgell <tridge@samba.org>
Tue, 28 Aug 2001 01:28:01 +0000 (01:28 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 28 Aug 2001 01:28:01 +0000 (01:28 +0000)
source/lib/util_sock.c
source/libsmb/clierror.c

index 16b457c413086ac461e16d90a95d386e18110b62..47f1d507ed0ff196b901ce4c5688124ab3cdfa21 100644 (file)
@@ -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) );
index f485d328e26b104c3f44af95118e6d9efc27059b..22c5dbaf779aebecbee9b30fb44ce1041b28775c 100644 (file)
@@ -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;