Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
More debugging for pkg ssh server
Baptiste Daroussin committed 11 years ago
commit c1d74c9443e57ea4a47e6b0db216fa349a6c5a7f
parent 2ee7d84
1 file changed +1 -0
modified libpkg/ssh.c
@@ -160,6 +160,7 @@ pkg_sshserve(int fd)
		}

		printf("ok: %" PRIdMAX "\n", (intmax_t)st.st_size);
+
		pkg_debug(1, "SSH server> sending ok: %" PRIdMAX "\n", (intmax_t)st.st_size);

		while ((r = read(ffd, buf, sizeof(buf))) > 0)
			fwrite(buf, 1, r, stdout);