From ccb16252f0f9f55198ca2662ab8daf7199b817de Mon Sep 17 00:00:00 2001 From: John Denker Date: Thu, 22 Nov 2012 16:17:08 -0800 Subject: move join() to utils --- tools/ward.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tools/ward.c') diff --git a/tools/ward.c b/tools/ward.c index 8be9f70..56e626d 100644 --- a/tools/ward.c +++ b/tools/ward.c @@ -74,16 +74,6 @@ int mypid; #include "libskrewt.h" -string join(const string sep, const list stuff){ - string rslt; - for (list::const_iterator ptr = stuff.begin(); - ptr != stuff.end(); ptr++){ - if (rslt.length()) rslt += sep; - rslt += *ptr; - } - return rslt; -} - class skrewt{ public: string received_from; // envelope HELO among other things -- cgit v1.2.3