Browse code

xcap_client: proper return code in child init function when all is ok

- introduced by previous commit, reported by Pascal Maugeri

Daniel-Constantin Mierla authored on 09/06/2009 15:34:35
Showing 1 changed files
... ...
@@ -174,7 +174,7 @@ static int child_init(int rank)
174 174
 		LM_ERR("cannot connect to db\n");
175 175
 		return -1;
176 176
 	}
177
-	return -1;
177
+	return 0;
178 178
 }
179 179
 
180 180
 void destroy(void)