diff options
author | Simo Sorce <idra@samba.org> | 2011-08-10 15:23:20 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-21 09:05:03 -0400 |
commit | 23e7e1c15862070b2296b9f24eb5b7e70f2058c4 (patch) | |
tree | 9795aa869770bb7698ff380dd3baabf57bf51867 /source3/rpc_server/rpc_config.c | |
parent | 11cbe24ac8415bdddef6d2c67cacc578cea850ad (diff) | |
download | samba-23e7e1c15862070b2296b9f24eb5b7e70f2058c4.tar.gz samba-23e7e1c15862070b2296b9f24eb5b7e70f2058c4.tar.bz2 samba-23e7e1c15862070b2296b9f24eb5b7e70f2058c4.zip |
s3-rpc_server: Replace RPC_SERVICE_MODE_DAEMON checks
Use rpc_daemon_type() macros where appropriate instead.
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/rpc_server/rpc_config.c')
-rw-r--r-- | source3/rpc_server/rpc_config.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/rpc_server/rpc_config.c b/source3/rpc_server/rpc_config.c index a706a11cea..76df479cf4 100644 --- a/source3/rpc_server/rpc_config.c +++ b/source3/rpc_server/rpc_config.c @@ -60,8 +60,6 @@ enum rpc_service_mode_e rpc_service_mode(const char *name) state = RPC_SERVICE_MODE_EMBEDDED; } else if (strcasecmp_m(rpcsrv_type, "external") == 0) { state = RPC_SERVICE_MODE_EXTERNAL; - } else if (strcasecmp(rpcsrv_type, "daemon") == 0) { - state = RPC_SERVICE_MODE_DAEMON; } else { state = RPC_SERVICE_MODE_DISABLED; } |