diff options
Diffstat (limited to 'src/reply-password.c')
-rw-r--r-- | src/reply-password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reply-password.c b/src/reply-password.c index 575a437645..bd55e65f3c 100644 --- a/src/reply-password.c +++ b/src/reply-password.c @@ -82,7 +82,7 @@ int main(int argc, char *argv[]) { } truncate_nl(packet+1); - length = strlen(packet+1) + 1; + length = 1 + strlen(packet+1) + 1; } else if (streq(argv[1], "0")) { packet[0] = '-'; length = 1; |