diff options
| author | Scott Perry <scperry@ucsd.edu> | 2008-05-26 12:38:15 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2008-05-26 21:20:03 +0200 |
| commit | b90f71ca2ab1b2eea7ca992b1e51a4b39afe0728 (patch) | |
| tree | 836a85f7f9160e69e618aa9cc54f0b2b2cdff245 /configure.in | |
| parent | d060e90de06e0fb3fc3e557fe97f9d0b0e132a29 (diff) | |
| download | ngircd-b90f71ca2ab1b2eea7ca992b1e51a4b39afe0728.tar.gz ngircd-b90f71ca2ab1b2eea7ca992b1e51a4b39afe0728.zip | |
Use strtok_r instead of strchr in IRC_JOIN.
This patch does significant cleanup on the join code by using strtok_r instead of mangling strchr to parse channel names and keys in parallel when a JOIN command contains a list of channels and keys. Also adds an strtok_r implementation to libportab.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 3aa42fce..f02835fb 100644 --- a/configure.in +++ b/configure.in @@ -139,7 +139,7 @@ AC_CHECK_FUNCS([ \ bind gethostbyaddr gethostbyname gethostname inet_ntoa \ setsid setsockopt socket strcasecmp waitpid],,AC_MSG_ERROR([required function missing!])) -AC_CHECK_FUNCS(inet_aton isdigit sigaction snprintf vsnprintf strdup strlcpy strlcat) +AC_CHECK_FUNCS(inet_aton isdigit sigaction snprintf vsnprintf strdup strlcpy strlcat strtok_r) # -- Configuration options -- |