summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/service.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index c5fba5b50e..fb9dbf0489 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -939,10 +939,8 @@ connection_struct *make_connection(const char *service_in, DATA_BLOB password,
snum = find_service(service);
if (snum < 0) {
- if (strequal(service,"IPC$")
- || (lp_enable_asu_support() &&
- strequal(service,"ADMIN$")))
- {
+ if (strequal(service,"IPC$") ||
+ (lp_enable_asu_support() && strequal(service,"ADMIN$"))) {
DEBUG(3,("refusing IPC connection to %s\n", service));
*status = NT_STATUS_ACCESS_DENIED;
return NULL;