mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-19 01:04:58 -04:00
r16509@catbus: nickm | 2007-11-07 02:08:32 -0500
Stop using C++ style comments. svn:r497
This commit is contained in:
parent
1f50f41283
commit
e72661d2ff
1
buffer.c
1
buffer.c
@ -392,7 +392,6 @@ evbuffer_read(struct evbuffer *buf, int fd, int howmuch)
|
||||
#ifndef WIN32
|
||||
n = read(fd, p, howmuch);
|
||||
#else
|
||||
//n = ReadFile((HANDLE)fd, p, howmuch, &dwBytesRead, NULL);
|
||||
n = recv(fd, p, howmuch, 0);
|
||||
#endif
|
||||
if (n == -1)
|
||||
|
4
http.c
4
http.c
@ -2304,7 +2304,7 @@ addr_from_name(char *address)
|
||||
return (aitop);
|
||||
#else
|
||||
assert(0);
|
||||
return NULL; // XXXXX Use gethostbyname, if this function is ever used.
|
||||
return NULL; /* XXXXX Use gethostbyname, if this function is ever used. */
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
@ -2330,7 +2330,7 @@ name_from_addr(struct sockaddr *sa, socklen_t salen,
|
||||
*phost = ntop;
|
||||
*pport = strport;
|
||||
#else
|
||||
// XXXX
|
||||
/* XXXX */
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user