Fix GCC build with -Werror

libevent-server.c:691:8: error: C++ style comments are not allowed in ISO C90
This commit is contained in:
Alexis La Goutte 2014-04-30 16:46:46 +02:00
parent 33a6851abe
commit fa2fbe944f
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ static void start_listen(struct event_base *evbase, const char *service,
hints.ai_flags = AI_PASSIVE; hints.ai_flags = AI_PASSIVE;
#ifdef AI_ADDRCONFIG #ifdef AI_ADDRCONFIG
hints.ai_flags |= AI_ADDRCONFIG; hints.ai_flags |= AI_ADDRCONFIG;
#endif // AI_ADDRCONFIG #endif /* AI_ADDRCONFIG */
rv = getaddrinfo(NULL, service, &hints, &res); rv = getaddrinfo(NULL, service, &hints, &res);
if(rv != 0) { if(rv != 0) {