~ubuntu-branches/ubuntu/utopic/curl/utopic-updates

« back to all changes in this revision

Viewing changes to lib/inet_ntop.c

Tags: 7.21.6-1
New upstream release to fix a HTTPS over a HTTP proxy bug on 7.21.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
 * error, EAFNOSUPPORT or ENOSPC.
196
196
 *
197
197
 * On Windows we store the error in the thread errno, not
198
 
 * in the winsock error code. This is to avoid loosing the
 
198
 * in the winsock error code. This is to avoid losing the
199
199
 * actual last winsock error. So use macro ERRNO to fetch the
200
 
 * errno this funtion sets when returning NULL, not SOCKERRNO.
 
200
 * errno this function sets when returning NULL, not SOCKERRNO.
201
201
 */
202
202
char *Curl_inet_ntop(int af, const void *src, char *buf, size_t size)
203
203
{