Changeset 2e8523b for lib/ftutil.h
- Timestamp:
- 2016-12-31T20:40:09Z (7 years ago)
- Branches:
- master
- Children:
- 188b75e, 8768f67
- Parents:
- 7801298
- git-author:
- Jelmer Vernooij <jelmer@…> (28-12-16 13:50:14)
- git-committer:
- dx <dx@…> (31-12-16 20:40:09)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ftutil.h
r7801298 r2e8523b 26 26 #endif 27 27 28 /* Some ifdefs for ulibc and apparently also BSD (Thanks to Whoopie) */29 #ifndef HOST_NAME_MAX30 #include <sys/param.h>31 #ifdef MAXHOSTNAMELEN32 #define HOST_NAME_MAX MAXHOSTNAMELEN33 #else34 #define HOST_NAME_MAX 25535 #endif36 #endif37 38 28 /* This function should be used with care. host should be AT LEAST a 39 char[ HOST_NAME_MAX+1] and port AT LEAST a char[6]. */29 char[NI_MAXHOST+1] and port AT LEAST a char[6]. */ 40 30 int ft_listen(struct sockaddr_storage *saddr_ptr, char *host, char *port, int copy_fd, int for_bitlbee_client, 41 31 char **errptr);
Note: See TracChangeset
for help on using the changeset viewer.