mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
fix warnings for potentially uninitalized variables
svn:r880
This commit is contained in:
parent
f1c6c5a978
commit
51bd6c0b24
2
http.c
2
http.c
@ -2337,7 +2337,7 @@ evhttp_get_request_connection(
|
||||
int fd, struct sockaddr *sa, socklen_t salen)
|
||||
{
|
||||
struct evhttp_connection *evcon;
|
||||
char *hostname, *portname;
|
||||
char *hostname = NULL, *portname = NULL;
|
||||
|
||||
name_from_addr(sa, salen, &hostname, &portname);
|
||||
event_debug(("%s: new request from %s:%s on %d\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user