Przeglądaj źródła

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

- introduced by previous commit, reported by Pascal Maugeri
Daniel-Constantin Mierla 16 lat temu
rodzic
commit
2e51695a7e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      modules_k/xcap_client/xcap_client.c

+ 1 - 1
modules_k/xcap_client/xcap_client.c

@@ -174,7 +174,7 @@ static int child_init(int rank)
 		LM_ERR("cannot connect to db\n");
 		LM_ERR("cannot connect to db\n");
 		return -1;
 		return -1;
 	}
 	}
-	return -1;
+	return 0;
 }
 }
 
 
 void destroy(void)
 void destroy(void)