diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-26 00:16:00 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-26 00:16:00 +0000 |
commit | 41aab6baef8421b968c3ce1abf3fbbba4d897fbe (patch) | |
tree | eb1f6c5dea11b52d608d0ec90c420f4017b2d43a /app.c | |
parent | 821fb99f76c2b0bcaeaac4ba2507706e327521e0 (diff) |
Fix silly typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@689 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'app.c')
-rwxr-xr-x | app.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -219,7 +219,7 @@ int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs) while ((de = readdir(dir))) { if ((strlen(de->d_name) > 3) && !strncasecmp(de->d_name, "msg", 3) && !strcasecmp(de->d_name + strlen(de->d_name) - 3, "txt")) - *newmsgs++; + (*newmsgs)++; } closedir(dir); @@ -232,7 +232,7 @@ int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs) while ((de = readdir(dir))) { if ((strlen(de->d_name) > 3) && !strncasecmp(de->d_name, "msg", 3) && !strcasecmp(de->d_name + strlen(de->d_name) - 3, "txt")) - *oldmsgs++; + (*oldmsgs)++; } closedir(dir); |