Eager-zero and compress CDB_USETABLE records to save disk space.
[citadel.git] / citadel / msgbase.c
index 20e0a39b3f268dffda765ead7e7b0178faeed137..88b21f5ad91fad6db0d4645fca428f3ce3d46ea5 100644 (file)
@@ -3131,25 +3131,17 @@ void flood_protect_quickie_message(const char *from,
        if (StrLength(guid) > 40)
                StrBufCutAt(guid, 40, NULL);
 
-       seenstamp = CheckIfAlreadySeen("FPAideMessage",
-                                      guid,
-                                      NOW,
-                                      tsday,
-                                      eUpdate,
-                                      ccid,
-                                      ioid);
+       seenstamp = CheckIfAlreadySeen(guid, NOW, tsday, eUpdate);
        if ((seenstamp > 0) && (seenstamp < tsday))
        {
                FreeStrBuf(&guid);
                /* yes, we did. flood protection kicks in. */
-               syslog(LOG_DEBUG,
-                          "not sending message again - %ld < %ld \n", seenstamp, tsday);
+               syslog(LOG_DEBUG, "not sending message again - %ld < %ld \n", seenstamp, tsday);
                return;
        }
        else
        {
-               syslog(LOG_DEBUG,
-                          "sending message. %ld >= %ld", seenstamp, tsday);
+               syslog(LOG_DEBUG, "sending message. %ld >= %ld", seenstamp, tsday);
                FreeStrBuf(&guid);
                /* no, this message isn't sent recently; go ahead. */
                quickie_message(from,