Mercurial > dnsbl
comparison src/spamass.cpp.in @ 227:3fee608becbc stable-6-0-21
Fixes to compile on old systems without memrchr or string::clear().
Fix bug in spamassassin interface trying to clear a string with string::empty().
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 03 Jan 2009 15:16:47 -0800 |
parents | 82886d4dd71f |
children | 536d59c3a7b8 |
comparison
equal
deleted
inserted
replaced
226:c3a4b03f371d | 227:3fee608becbc |
---|---|
126 void SpamAssassin::mlfi_header(const char* headerf, const char* headerv) | 126 void SpamAssassin::mlfi_header(const char* headerf, const char* headerv) |
127 { | 127 { |
128 if (!running) Connect(); | 128 if (!running) Connect(); |
129 if (running) { | 129 if (running) { |
130 output(spamc_input); | 130 output(spamc_input); |
131 spamc_input.empty(); | 131 spamc_input = ""; |
132 } | 132 } |
133 | 133 |
134 output(headerf); | 134 output(headerf); |
135 output(": "); | 135 output(": "); |
136 output(headerv); | 136 output(headerv); |