diff options
-rw-r--r-- | source3/rpcclient/rpcclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index d306c98f79..d5425aa43d 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -787,8 +787,8 @@ out_free: } } - if ((server[0] == '/' || server[0] == '\\') && - (server[1] == '/' || server[1] == '\\')) { + if ((server[0] == '/' && server[1] == '/') || + (server[0] == '\\' && server[1] == '\\')) { server += 2; } |