[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [dsdp-tcf-dev] [Trivial PATCH] Fix protocol peer reply trace segfault
|
Fixed.
Thanks,
Eugene
-----Original Message-----
From: dsdp-tcf-dev-bounces@xxxxxxxxxxx
[mailto:dsdp-tcf-dev-bounces@xxxxxxxxxxx] On Behalf Of Ed Swarthout
Sent: Wednesday, March 04, 2009 9:15 PM
To: dsdp-tcf-dev@xxxxxxxxxxx
Subject: [dsdp-tcf-dev] [Trivial PATCH] Fix protocol peer reply trace
segfault
Index: agent/protocol.c
===================================================================
--- agent/protocol.c (revision 633)
+++ agent/protocol.c (working copy)
@@ -244,7 +244,7 @@
else if (type[0] == 'R' || type[0] == 'P' || type[0] == 'N') {
Trap trap;
read_stringz(&c->inp, token, sizeof(token));
- trace(LOG_PROTOCOL, "Peer %s: Reply: %c %s ...", type[0],
c->peer_name, token);
+ trace(LOG_PROTOCOL, "Peer %c: Reply: %s %s ...", type[0],
+ c->peer_name, token);
if (set_trap(&trap)) {
ReplyHandlerInfo * rh = NULL;
char * endptr = NULL;
_______________________________________________
dsdp-tcf-dev mailing list
dsdp-tcf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dsdp-tcf-dev