summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-12-17 17:19:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:53 -0500
commitf2c8291791a557889fcdaa4dbcf7d2312e835033 (patch)
treef636bf545059cc5d9efc8e65caf9eeb427d7ea05
parent862e4a11c15b9971762e5ee97186fbccdd2fcfdf (diff)
downloadsamba-f2c8291791a557889fcdaa4dbcf7d2312e835033.tar.gz
samba-f2c8291791a557889fcdaa4dbcf7d2312e835033.tar.bz2
samba-f2c8291791a557889fcdaa4dbcf7d2312e835033.zip
r12308: Reformatting
(This used to be commit 97acfa12e52e889c97d0f7ce72c1a7f863cb0665)
-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;