mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 05:48:51 -04:00
some nit-picking from poul-henning kamp
svn:r208
This commit is contained in:
parent
7517ef2a81
commit
a32839c8ec
3
http.c
3
http.c
@ -917,7 +917,8 @@ evhttp_connect(const char *address, unsigned short port,
|
||||
return (evcon);
|
||||
|
||||
error:
|
||||
evhttp_connection_free(evcon);
|
||||
if (evcon != NULL)
|
||||
evhttp_connection_free(evcon);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
2
log.h
2
log.h
@ -37,7 +37,7 @@ void _event_debugx(const char *fmt, ...);
|
||||
#ifdef USE_DEBUG
|
||||
#define event_debug(x) _event_debugx x
|
||||
#else
|
||||
#define event_debug(x)
|
||||
#define event_debug(x) do {;} while (0)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user