Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Delta Between Two Patch Sets: Modules/getnameinfo.c

Issue 3871: cross and native build of python for mingw32 with distutils
Left Patch Set: Created 7 years, 3 months ago
Right Patch Set: Created 7 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Modules/getaddrinfo.c ('k') | Modules/_io/fileio.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 /* 1 /*
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr)) 213 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr))
214 == NULL) 214 == NULL)
215 return ENI_NOHOSTNAME; 215 return ENI_NOHOSTNAME;
216 if (strlen(numaddr) > hostlen) 216 if (strlen(numaddr) > hostlen)
217 return ENI_MEMORY; 217 return ENI_MEMORY;
218 strcpy(host, numaddr); 218 strcpy(host, numaddr);
219 } 219 }
220 } 220 }
221 return SUCCESS; 221 return SUCCESS;
222 } 222 }
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+