diff svr-authpubkey.c @ 1754:064f5be2fc45

Add buf_decrpos()
author Matt Johnston <matt@ucc.asn.au>
date Sat, 24 Oct 2020 18:56:45 +0800
parents ae41624c2198
children d39cfedaf015
line wrap: on
line diff
--- a/svr-authpubkey.c	Fri Oct 23 20:53:58 2020 +0800
+++ b/svr-authpubkey.c	Sat Oct 24 18:56:45 2020 +0800
@@ -294,7 +294,7 @@
 				is_comment = 1;
 				break;
 			}
-			buf_incrpos(line, -1);
+			buf_decrpos(line, 1);
 			break;
 		}
 		if (is_comment) {