summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/imklog')
-rw-r--r--plugins/imklog/imklog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c
index 5bd99d9e..3faed2fe 100644
--- a/plugins/imklog/imklog.c
+++ b/plugins/imklog/imklog.c
@@ -136,7 +136,7 @@ parsePRI(uchar **ppSz, int *piPri)
++pSz;
i = 0;
while(isdigit(*pSz)) {
- i = i * 10 + *pSz - '0';
+ i = i * 10 + *pSz++ - '0';
}
if(*pSz != '>')