aboutsummaryrefslogtreecommitdiffstats
path: root/app.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-26 00:16:00 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-26 00:16:00 +0000
commit41aab6baef8421b968c3ce1abf3fbbba4d897fbe (patch)
treeeb1f6c5dea11b52d608d0ec90c420f4017b2d43a /app.c
parent821fb99f76c2b0bcaeaac4ba2507706e327521e0 (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-xapp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.c b/app.c
index 81f31cac2..4ddaa9384 100755
--- a/app.c
+++ b/app.c
@@ -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);