Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Trivial PATCH] Fix protocol peer reply trace seg fault

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;


Back to the top