summaryrefslogtreecommitdiff
path: root/source3/smbd/pipes.c
diff options
context:
space:
mode:
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 )