diff 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
line wrap: on
line diff
--- a/src/spamass.cpp.in	Sat Jan 03 10:07:10 2009 -0800
+++ b/src/spamass.cpp.in	Sat Jan 03 15:16:47 2009 -0800
@@ -128,7 +128,7 @@
     if (!running) Connect();
     if (running) {
         output(spamc_input);
-        spamc_input.empty();
+        spamc_input = "";
     }
 
     output(headerf);