]> arthur.barton.de Git - ngircd-alex.git/commit
Use strtok_r instead of strchr in IRC_JOIN.
authorScott Perry <scperry@ucsd.edu>
Mon, 26 May 2008 10:38:15 +0000 (12:38 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 26 May 2008 19:20:03 +0000 (21:20 +0200)
commitb90f71ca2ab1b2eea7ca992b1e51a4b39afe0728
tree836a85f7f9160e69e618aa9cc54f0b2b2cdff245
parentd060e90de06e0fb3fc3e557fe97f9d0b0e132a29
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.
configure.in
src/ngircd/irc-channel.c
src/portab/Makefile.am
src/portab/portab.h
src/portab/strtok_r.c [new file with mode: 0644]