summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/common.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-06-24 12:18:41 +0000
committerdes <des@FreeBSD.org>2002-06-24 12:18:41 +0000
commit0fa910cfdef648a5fff509bf1944ee85873e7c67 (patch)
tree42c0d88e7f59549cf92b3942bf22fd896df78558 /lib/libfetch/common.c
parent28c66edd3e36dc724cc7f06ff8ab840705044208 (diff)
downloadFreeBSD-src-0fa910cfdef648a5fff509bf1944ee85873e7c67.zip
FreeBSD-src-0fa910cfdef648a5fff509bf1944ee85873e7c67.tar.gz
Reintroduce debugging code that somehow got lost in a previous revision.
Diffstat (limited to 'lib/libfetch/common.c')
-rw-r--r--lib/libfetch/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c
index 2ebb296..cb69ec0 100644
--- a/lib/libfetch/common.c
+++ b/lib/libfetch/common.c
@@ -506,6 +506,8 @@ _fetch_write(conn_t *conn, const char *buf, size_t len)
int
_fetch_putln(conn_t *conn, const char *str, size_t len)
{
+
+ DEBUG(fprintf(stderr, ">>> %s\n", str));
if (_fetch_write(conn, str, len) == -1 ||
_fetch_write(conn, ENDL, sizeof ENDL) == -1)
return (-1);
OpenPOWER on IntegriCloud