comparison src/win32/libc_interface.c @ 12488:40fada5b3d59

[gaim-migrate @ 14800] return 0 when successful. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 15 Dec 2005 16:13:56 +0000
parents 8be7f4c472cf
children 13276711babc
comparison
equal deleted inserted replaced
12487:799e95eed274 12488:40fada5b3d59
228 break; 228 break;
229 } 229 }
230 } 230 }
231 /* Replace the length with the actually used length */ 231 /* Replace the length with the actually used length */
232 ifc->ifc_len = ifc->ifc_len - (ifc->ifc_buf - tmp); 232 ifc->ifc_len = ifc->ifc_len - (ifc->ifc_buf - tmp);
233 return 0;
233 } 234 }
234 } 235 }
235 default: 236 default:
236 errno = EINVAL; 237 errno = EINVAL;
237 return -1; 238 return -1;