diff src/dnsbl.cpp @ 139:003026deaed1 stable-5-21

add smtp auth rate limits
author carl
date Tue, 26 Sep 2006 15:21:17 -0700
parents 9d0bc30b4576
children 4028de9b46dd
line wrap: on
line diff
--- a/src/dnsbl.cpp	Tue Sep 26 15:09:46 2006 -0700
+++ b/src/dnsbl.cpp	Tue Sep 26 15:21:17 2006 -0700
@@ -155,7 +155,7 @@
 			rcpt_counts[user] = c;
 		}
 		else {
-			c = (*i).second++;
+			c = ++((*i).second);
 		}
 	pthread_mutex_unlock(&rate_mutex);
 	return c;