Diff for /libaitio/src/sock.c between versions 1.1.2.3 and 1.1.2.4

version 1.1.2.3, 2013/08/12 23:25:35 version 1.1.2.4, 2013/08/13 00:02:59
Line 80  ioInitSocket(int role, int type, int proto, const char Line 80  ioInitSocket(int role, int type, int proto, const char
                 io_SetErr(elwix_GetErrno(), "%s", elwix_GetError());                  io_SetErr(elwix_GetErrno(), "%s", elwix_GetError());
                 e_free(s);                  e_free(s);
                 return NULL;                  return NULL;
        } else        } else {
                AIT_SET_BUFSIZ(&s->sock_buf, 0, buflen ? buflen : BUFSIZ);                buflen = buflen ? buflen : BUFSIZ;
                 AIT_SET_BUFSIZ(&s->sock_buf, 0, buflen);
         }
   
         s->sock_fd = socket(s->sock_addr.sa.sa_family, s->sock_type, s->sock_proto);          s->sock_fd = socket(s->sock_addr.sa.sa_family, s->sock_type, s->sock_proto);
         if (s->sock_fd == -1) {          if (s->sock_fd == -1) {

Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>