summaryrefslogtreecommitdiff
path: root/source3/smbd/pipes.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-07-16 22:46:06 +0000
committerJeremy Allison <jra@samba.org>1998-07-16 22:46:06 +0000
commitdc44d77c7fd3427b1313e8ee2d7929fb7778148f (patch)
tree59e0e67c1097202efac9a35169ff01c41fc684ee /source3/smbd/pipes.c
parentf1cd3cb54c6495db2a91c473f91c78d24622d98e (diff)
downloadsamba-dc44d77c7fd3427b1313e8ee2d7929fb7778148f.tar.gz
samba-dc44d77c7fd3427b1313e8ee2d7929fb7778148f.tar.bz2
samba-dc44d77c7fd3427b1313e8ee2d7929fb7778148f.zip
Makefile: Added nttrans.o
includes.h: Added termios.h for AIX. nttrans.c: Working NT SMB calls ! pipes.c: Use strequal instead of strcmp. server.c: Use #defines rather than numbers. smb.h: Updated NT SMB #defines. Jeremy. (This used to be commit 3e5cada9885059e9926eb6a56d350c4b1b53d245)
Diffstat (limited to 'source3/smbd/pipes.c')
-rw-r--r--source3/smbd/pipes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c
index fa11060ade..f0c5c3ba7f 100644
--- a/source3/smbd/pipes.c
+++ b/source3/smbd/pipes.c
@@ -81,7 +81,7 @@ int reply_open_pipe_and_X(char *inbuf,char *outbuf,int length,int bufsize)
/* See if it is one we want to handle. */
for( i = 0; pipe_names[i].client_pipe ; i++ )
- if( strcmp(fname,pipe_names[i].client_pipe) == 0 )
+ if( strequal(fname,pipe_names[i].client_pipe) )
break;
if ( pipe_names[i].client_pipe == NULL )