diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-01-01 14:48:09 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-01-01 14:48:09 +0000 |
| commit | f67efa37d65d8eab318a3f0b0eb7c5ab6a41481b (patch) | |
| tree | 25877d0b1aea3b6e6e215b2b7021a29ddfcd1b31 /lib/libfetch/common.c | |
| parent | 36bf75f010f347dc59ff9a70d92230e5ffeb8771 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/common.c')
| -rw-r--r-- | lib/libfetch/common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index b39839aa39e6..88c93a531145 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; } |
