Add buf_decrpos()

This commit is contained in:
Matt Johnston
2020-10-24 18:56:45 +08:00
parent 1a208c460b
commit 037d26f055
5 changed files with 17 additions and 11 deletions

View File

@@ -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) {