Changeset 7a9d968 for lib/ftutil.h


Ignore:
Timestamp:
2018-03-10T11:30:39Z (6 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
5447c59
Parents:
3f44e43 (diff), 4a9c6b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ftutil.h

    r3f44e43 r7a9d968  
    2626#endif
    2727
    28 /* Some ifdefs for ulibc and apparently also BSD (Thanks to Whoopie) */
    29 #ifndef HOST_NAME_MAX
    30 #include <sys/param.h>
    31 #ifdef MAXHOSTNAMELEN
    32 #define HOST_NAME_MAX MAXHOSTNAMELEN
    33 #else
    34 #define HOST_NAME_MAX 255
    35 #endif
    36 #endif
    37 
    3828/* 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]. */
    4030int ft_listen(struct sockaddr_storage *saddr_ptr, char *host, char *port, int copy_fd, int for_bitlbee_client,
    4131              char **errptr);
Note: See TracChangeset for help on using the changeset viewer.