aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2007-08-08 09:54:26 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2007-08-08 09:54:26 +0000
commitb352d1bddd57821d515df86a6d967cdcf828fb29 (patch)
tree924518535f63582a87dd5e9fb11bb5183310b86d /src
parent* src/mod_offline.erl: Only count messages if a quota has been (diff)
* src/mod_offline.erl: Typo.
SVN Revision: 861
Diffstat (limited to 'src')
-rw-r--r--src/mod_offline.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_offline.erl b/src/mod_offline.erl
index 303fe238f..e98caf0ba 100644
--- a/src/mod_offline.erl
+++ b/src/mod_offline.erl
@@ -60,7 +60,7 @@ loop() ->
Len = length(Msgs),
F = fun() ->
%% Only count messages if needed:
- Count = if ?MAX_OFFLINE_MSGS == infinity ->
+ Count = if ?MAX_OFFLINE_MSGS =/= infinity ->
Len + p1_mnesia:count_records(
offline_msg,
#offline_msg{us=US, _='_'});