Changeset 722
- Timestamp:
- Sep 14, 2006 9:16:11 PM (18 years ago)
- Location:
- pjproject/trunk/pjlib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/errno.h
r534 r722 286 286 */ 287 287 #define PJ_ETOOBIG (PJ_ERRNO_START_STATUS + 17)/* 70017 */ 288 /** 289 * @hideinitializer 290 * Error in gethostbyname() 291 */ 292 #define PJ_ERESOLVE (PJ_ERRNO_START_STATUS + 18)/* 70018 */ 288 293 289 294 -
pjproject/trunk/pjlib/src/pj/addr_resolv_sock.c
r721 r722 39 39 he = gethostbyname(copy); 40 40 if (!he) 41 return PJ_ RETURN_OS_ERROR(pj_get_native_netos_error());41 return PJ_ERESOLVE; 42 42 43 43 phe->h_name = he->h_name; -
pjproject/trunk/pjlib/src/pj/errno.c
r534 r722 65 65 PJ_BUILD_ERR(PJ_EEOF, "End of file" ), 66 66 PJ_BUILD_ERR(PJ_ETOOBIG, "Size is too big"), 67 PJ_BUILD_ERR(PJ_ERESOLVE, "gethostbyname() has returned error"), 67 68 }; 68 69 #endif /* PJ_HAS_ERROR_STRING */
Note: See TracChangeset
for help on using the changeset viewer.