projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
One more pass at README.developers now that it's clear that my
[mmh]
/
uip
/
vmhsbr.c
diff --git
a/uip/vmhsbr.c
b/uip/vmhsbr.c
index
4a2b951
..
cc92b49
100644
(file)
--- a/
uip/vmhsbr.c
+++ b/
uip/vmhsbr.c
@@
-106,7
+106,7
@@
peer2rc (struct record *rc)
if (fp) {
fseek (fp, 0L, SEEK_END);
fprintf (fp, "%d: <--- %s %d: \"%*.*s\"\n", (int) getpid(),
if (fp) {
fseek (fp, 0L, SEEK_END);
fprintf (fp, "%d: <--- %s %d: \"%*.*s\"\n", (int) getpid(),
- types[(int)rc->rc_type], rc->rc_len,
+ types[(unsigned char)rc->rc_type], rc->rc_len,
rc->rc_len, rc->rc_len, rc->rc_data);
fflush (fp);
}
rc->rc_len, rc->rc_len, rc->rc_data);
fflush (fp);
}
@@
-127,7
+127,7
@@
rc2peer (char code, int len, char *data)
if (fp) {
fseek (fp, 0L, SEEK_END);
fprintf (fp, "%d: ---> %s %d: \"%*.*s\"\n", (int) getpid(),
if (fp) {
fseek (fp, 0L, SEEK_END);
fprintf (fp, "%d: ---> %s %d: \"%*.*s\"\n", (int) getpid(),
- types[(int)rc->rc_type], rc->rc_len,
+ types[(unsigned char)rc->rc_type], rc->rc_len,
rc->rc_len, rc->rc_len, data);
fflush (fp);
}
rc->rc_len, rc->rc_len, data);
fflush (fp);
}