summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-08-28 01:28:01 +0000
committerAndrew Tridgell <tridge@samba.org>2001-08-28 01:28:01 +0000
commit1f079939001fa4a48b37c319049bc273db85a79f (patch)
tree0c543695cafe2ade9de5f2a16ff528be9e2bafb7
parent316c3fb510f9b0dbff18077f3249219ba3028b3d (diff)
downloadsamba-1f079939001fa4a48b37c319049bc273db85a79f.tar.gz
samba-1f079939001fa4a48b37c319049bc273db85a79f.tar.bz2
samba-1f079939001fa4a48b37c319049bc273db85a79f.zip
fixed typo
(This used to be commit 2d1829dfd041336a587443435d8dccab365a2b56)
-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;