summaryrefslogtreecommitdiffhomepage
path: root/svr-authpubkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-10-24 18:56:45 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-10-24 18:56:45 +0800
commit037d26f055e4818616ffe5c8c3597451550e59e6 (patch)
tree05cd06345540cda5953fade41d3071a8a8d73c2d /svr-authpubkey.c
parent1a208c460b412113704c4d5f98585017ee0a6ccf (diff)
Add buf_decrpos()
Diffstat (limited to 'svr-authpubkey.c')
-rw-r--r--svr-authpubkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-authpubkey.c b/svr-authpubkey.c
index 46237b7..a33cc39 100644
--- a/svr-authpubkey.c
+++ b/svr-authpubkey.c
@@ -294,7 +294,7 @@ static int checkpubkey_line(buffer* line, int line_num, const char* filename,
is_comment = 1;
break;
}
- buf_incrpos(line, -1);
+ buf_decrpos(line, 1);
break;
}
if (is_comment) {