summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libfetch/common.c')
-rw-r--r--lib/libfetch/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c
index b39839a..88c93a5 100644
--- a/lib/libfetch/common.c
+++ b/lib/libfetch/common.c
@@ -208,7 +208,7 @@ _fetch_connect(const char *host, int port, int af, int verbose)
struct addrinfo hints, *res, *res0;
int sd, err;
- DEBUG(fprintf(stderr, "\033[1m---> %s:%d\033[m\n", host, port));
+ DEBUG(fprintf(stderr, "---> %s:%d\n", host, port));
if (verbose)
_fetch_info("looking up %s", host);
@@ -324,7 +324,7 @@ _fetch_getln(int fd, char **buf, size_t *size, size_t *len)
}
} while (c != '\n');
- DEBUG(fprintf(stderr, "\033[1m<<< %.*s\033[m", (int)*len, *buf));
+ DEBUG(fprintf(stderr, "<<< %.*s", (int)*len, *buf));
return 0;
}
@@ -348,7 +348,7 @@ _fetch_putln(int fd, const char *str, size_t len)
wlen = writev(fd, iov, 2);
if (wlen < 0 || (size_t)wlen != len)
return -1;
- DEBUG(fprintf(stderr, "\033[1m>>> %s\n\033[m", str));
+ DEBUG(fprintf(stderr, ">>> %s\n", str));
return 0;
}
OpenPOWER on IntegriCloud