Просмотр исходного кода

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 лет назад
Родитель
Сommit
2e51695a7e
1 измененных файлов с 1 добавлено и 1 удалено
  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");
 		return -1;
 	}
-	return -1;
+	return 0;
 }
 
 void destroy(void)