소스 검색

- removed -p port && extended -l to support the same syntax as listen= :
-l [proto:]addr[:port] where proto=udp|tcp (default all),
and addr=ip_addr|host|interface_name.
E.g.: -l localhost, -l tcp:127.0.0.1 -l udp:[::1]:5062, -l eth0,
-l tcp:xl1:5090
- mysql: fixed minor warning

Andrei Pelinescu-Onciul 21 년 전
부모
커밋
738c6a416d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/db_mysql/dbase.c

+ 1 - 1
modules/db_mysql/dbase.c

@@ -231,7 +231,7 @@ db_con_t* db_init(const char* _url)
 	}
 	memset(res, 0, sizeof(db_con_t) + sizeof(struct my_con*));
 
-	(struct my_con*)res->tail = get_connection(_url);
+	res->tail = (unsigned long)get_connection(_url);
 
 	if (!res->tail) {
 		LOG(L_ERR, "db_init(): Could not create a connection\n");