ref: f584e3576575084bb0f68f9da539618878ad490a
parent: 76dd688df7117474eb0734f19f54e3e8e0e173fe
author: Ori Bernstein <[email protected]>
date: Sun Sep 6 13:43:40 EDT 2020
proto.c: improve debug log clarity
--- a/proto.c
+++ b/proto.c
@@ -43,7 +43,7 @@
return -1;
buf[n] = 0;
if(chattygit)
- fprint(2, "<= %s:\t%.*s\n", len, nbuf, buf);
+ fprint(2, "=r> %s:\t%.*s\n", len, nbuf, buf);
return n;
}
@@ -59,7 +59,7 @@
if(write(c->wfd, buf, nbuf) != nbuf)
return -1;
if(chattygit){
- fprint(2, "=> %s:\t", len);
+ fprint(2, "<=w= %s:\t", len);
write(2, buf, nbuf);
write(2, "\n", 1);
}