summaryrefslogtreecommitdiff
path: root/source4/param/pyparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/pyparam.c')
-rw-r--r--source4/param/pyparam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c
index 53f19f6098..a648f65d4e 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -46,8 +46,8 @@ static PyObject *py_lp_ctx_get_helper(struct loadparm_context *lp_ctx, const cha
void *parm_ptr = NULL;
int i;
- if (service_name != NULL && !strwicmp(service_name, GLOBAL_NAME) &&
- !strwicmp(service_name, GLOBAL_NAME2)) {
+ if (service_name != NULL && strwicmp(service_name, GLOBAL_NAME) &&
+ strwicmp(service_name, GLOBAL_NAME2)) {
struct loadparm_service *service;
/* its a share parameter */
service = lp_service(lp_ctx, service_name);