summaryrefslogtreecommitdiff
path: root/tools/ward.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-11-23 00:17:08 (GMT)
committerJohn Denker <jsd@av8n.com>2012-11-23 00:17:08 (GMT)
commitccb16252f0f9f55198ca2662ab8daf7199b817de (patch)
tree906b7366ab5c211f0c1a3337172cef8ac105f8a9 /tools/ward.c
parent38d51b1b20776f7435737bf26d2f912daa312282 (diff)
move join() to utils
Diffstat (limited to 'tools/ward.c')
-rw-r--r--tools/ward.c10
1 files changed, 0 insertions, 10 deletions
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<string> stuff){
- string rslt;
- for (list<string>::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