- char serv[7];
- int err;
- struct addrinfo hints, *res, *sai;
-
- memset( &hints, '\0', sizeof(hints) );
- hints.ai_family = ldap_int_inet4or6;
- hints.ai_socktype = socktype;
-
- snprintf(serv, sizeof serv, "%d", port );
+ memset( &hints, '\0', sizeof(hints) );
+ hints.ai_family = ldap_int_inet4or6;
+ hints.ai_socktype = socktype;
+ snprintf(serv, sizeof serv, "%d", port );