about summary refs log tree commit diff
path: root/src/portab/Makefile.am
diff options
context:
space:
mode:
authorScott Perry <scperry@ucsd.edu>2008-05-26 12:38:15 +0200
committerFlorian Westphal <fw@strlen.de>2008-05-26 21:20:03 +0200
commitb90f71ca2ab1b2eea7ca992b1e51a4b39afe0728 (patch)
tree836a85f7f9160e69e618aa9cc54f0b2b2cdff245 /src/portab/Makefile.am
parentd060e90de06e0fb3fc3e557fe97f9d0b0e132a29 (diff)
downloadngircd-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 'src/portab/Makefile.am')
-rw-r--r--src/portab/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/portab/Makefile.am b/src/portab/Makefile.am
index 06c6bae4..c48e67ad 100644
--- a/src/portab/Makefile.am
+++ b/src/portab/Makefile.am
@@ -9,14 +9,12 @@
 # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
 # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
 #
-# $Id: Makefile.am,v 1.8 2005/04/16 09:23:01 fw Exp $
-#
 
 AUTOMAKE_OPTIONS = ansi2knr
 
 noinst_LIBRARIES = libngportab.a
 
-libngportab_a_SOURCES = strlcpy.c strdup.c vsnprintf.c
+libngportab_a_SOURCES = strdup.c strlcpy.c strtok_r.c vsnprintf.c
 
 check_PROGRAMS = portabtest