Index: uspace/srv/locsrv/locsrv.c
===================================================================
--- uspace/srv/locsrv/locsrv.c	(revision a46e56be16ae82f0d007dd26c68b250f3f725ae0)
+++ uspace/srv/locsrv/locsrv.c	(revision f712a858b9463dae30e9eee5ef1ccc54ae618f02)
@@ -217,6 +217,6 @@
 
 	list_foreach(services_list, services, loc_service_t, service) {
-		if ((str_cmp(service->namespace->name, ns_name) == 0)
-		    && (str_cmp(service->name, name) == 0))
+		if ((str_cmp(service->namespace->name, ns_name) == 0) &&
+		    (str_cmp(service->name, name) == 0))
 			return service;
 	}
