summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/daemon/boardd/boardd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/daemon/boardd/boardd.c b/pttbbs/daemon/boardd/boardd.c
index 6ec09610..70bbc4cd 100644
--- a/pttbbs/daemon/boardd/boardd.c
+++ b/pttbbs/daemon/boardd/boardd.c
@@ -130,7 +130,7 @@ answer_key(struct evbuffer *buf, const char *key)
return article_list(buf, bptr, offset, length);
} else if (strncmp(key, "article.", 8) == 0) {
- if (strncmp(key + 9, "M.", 2) != 0)
+ if (strncmp(key + 8, "M.", 2) != 0)
return;
char path[PATH_MAX];