summaryrefslogtreecommitdiff
path: root/app.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-03-26 00:16:00 +0000
committerMark Spencer <markster@digium.com>2003-03-26 00:16:00 +0000
commit666b2080937b8ed762a7745d1dfad8d2dbf4fa83 (patch)
treeeb1f6c5dea11b52d608d0ec90c420f4017b2d43a /app.c
parent0f7e77fb23a9f438d5a60d72c8ab6606585d8a41 (diff)
Fix silly typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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);