Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
in case of empty line we should continue reading
Baptiste Daroussin committed 11 years ago
commit 0925227df2ddf8a5ef8c8257ef250b7769dcc88b
parent 7f3a166b266a68d4f7e17e1a01f892fe6c5350d3
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')