comparison libfaim/ft.c @ 1550:001a79aec218

[gaim-migrate @ 1560] NO SOCKLEN_T! committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 09 Mar 2001 07:52:18 +0000
parents 1e2cc8c8bf3c
children ec31e23aadc7
comparison
equal deleted inserted replaced
1549:ee667b59de69 1550:001a79aec218
37 faim_export int aim_handlerendconnect(struct aim_session_t *sess, struct aim_conn_t *cur) 37 faim_export int aim_handlerendconnect(struct aim_session_t *sess, struct aim_conn_t *cur)
38 { 38 {
39 int acceptfd = 0; 39 int acceptfd = 0;
40 rxcallback_t userfunc; 40 rxcallback_t userfunc;
41 struct sockaddr cliaddr; 41 struct sockaddr cliaddr;
42 socklen_t clilen = sizeof(cliaddr); 42 int clilen = sizeof(cliaddr);
43 int ret = 0; 43 int ret = 0;
44 struct aim_conn_t *newconn; 44 struct aim_conn_t *newconn;
45 45
46 if ( (acceptfd = accept(cur->fd, &cliaddr, &clilen)) == -1) 46 if ( (acceptfd = accept(cur->fd, &cliaddr, &clilen)) == -1)
47 return -1; 47 return -1;