- Timestamp:
- Jan 2, 2008 8:22:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/sock_symbian.cpp
r1647 r1653 277 277 PJ_DEF(char*) pj_inet_ntoa(pj_in_addr inaddr) 278 278 { 279 static TBuf<20> str16;280 static char str8[20];279 static char str8[PJ_INET_ADDRSTRLEN]; 280 TBuf<PJ_INET_ADDRSTRLEN> str16(0); 281 281 282 282 /* (Symbian IP address is in host byte order) */ … … 295 295 PJ_DEF(int) pj_inet_aton(const pj_str_t *cp, struct pj_in_addr *inp) 296 296 { 297 enum { MAXIPLEN = 16};297 enum { MAXIPLEN = PJ_INET_ADDRSTRLEN }; 298 298 299 299 /* Initialize output with PJ_INADDR_NONE.
Note: See TracChangeset
for help on using the changeset viewer.