diff options
author | John Denker <jsd@av8n.com> | 2012-11-22 16:17:08 -0800 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-11-22 16:17:08 -0800 |
commit | ccb16252f0f9f55198ca2662ab8daf7199b817de (patch) | |
tree | 906b7366ab5c211f0c1a3337172cef8ac105f8a9 /tools/skrewt.c | |
parent | 38d51b1b20776f7435737bf26d2f912daa312282 (diff) |
move join() to utils
Diffstat (limited to 'tools/skrewt.c')
-rw-r--r-- | tools/skrewt.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/skrewt.c b/tools/skrewt.c index 540b1cf..8c07974 100644 --- a/tools/skrewt.c +++ b/tools/skrewt.c @@ -117,16 +117,6 @@ void parse_content(const string type_spec_line, } } -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 |