X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver%2Fuser_ops.c;h=d907074a4f88fb8367bbc3af755cc8a596f48ad1;hb=0c8706708324e1c6afdca71ac1228d5682f27a47;hp=62b11981cc625ac5b25df5c3d460ab2eed8a8d7e;hpb=a34ab2fe2c99fda491eb8ae91371774a32c2612e;p=citadel.git diff --git a/citadel/server/user_ops.c b/citadel/server/user_ops.c index 62b11981c..d907074a4 100644 --- a/citadel/server/user_ops.c +++ b/citadel/server/user_ops.c @@ -1118,7 +1118,8 @@ void ForEachUser(void (*CallBack) (char *, void *out_data), void *in_data) { } -// Count the number of new mail messages the user has +// Return the number of new messages that have arrived in the user's inbox while they were logged in. +// Resets to zero when called. int NewMailCount() { int num_newmsgs = 0; num_newmsgs = CC->newmail;