}
// This handles the most common case, which is mail to a user's inbox.
- else if (CtdlGetUser(&tempUS, this_recp) == 0) {
+ // (the next line depends on left-to-right evaluation)
+ else if ((CtdlGetUser(&tempUS, this_recp) == 0) && (tempUS.usernum > 0)) {
++ret->num_local;
strcpy(this_recp, tempUS.fullname);
if (!IsEmptyStr(ret->recp_local)) {