Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
in case of empty line we should continue reading
Baptiste Daroussin committed 11 years ago
commit 0925227df2ddf8a5ef8c8257ef250b7769dcc88b
parent 7f3a166
1 file changed +2 -2
modified libpkg/ssh.c
@@ -1,5 +1,5 @@
/*-
-
 * Copyright (c) 2013 Baptiste Daroussin <bapt@FreeBSD.org>
+
 * Copyright (c) 2013-2014 Baptiste Daroussin <bapt@FreeBSD.org>
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without
@@ -67,7 +67,7 @@ pkg_sshserve(int fd)
			break;

		if (linelen == 0)
-
			break;
+
			continue;

		/* trim cr */
		if (line[linelen - 1] == '\n')