chiark / gitweb /
SignallingPredictedProblem always specifies a segment
authorian <ian>
Sat, 7 Jun 2008 16:44:14 +0000 (16:44 +0000)
committerian <ian>
Sat, 7 Jun 2008 16:44:14 +0000 (16:44 +0000)
hostside/README.commands
hostside/commands.c

index 8ec08c9aa7d6998b7d26f00b837ebbe761cf28a0..b23aa41c97f07e652fe31e7cb12cfa248d351a58 100644 (file)
@@ -114,8 +114,8 @@ COMMANDS AND RESPONSES
  O< ?ack <command> ok
  O< ?ack <command> <errorcode>
  O< ?ack <command> <errorcode> [<remaining info>] : <remaining error msg>...
- O< ?ack <command> <errorcode> SignallingPredictedProblem \
-          <problematic-train> <problematic-segment>|? : <error message>...
+ O< ?ack <command> SignallingPredictedProblem \
+          <problematic-train> <problematic-segment> : <error message>...
 
     when these come through the multiplexer, everything which is a
     result of _other_ clients' activities, between <executing> and
index fc111a9e58a2f90ea57ac7a82def32f616601840..fca28d36bc475f33f598c0e7ebfb8c601578e5e4 100644 (file)
@@ -31,8 +31,7 @@ struct ManualRetransmitNode {
 static void cmd_ppc(Train *tra, Segment *seg, void *pu, const char *message) {
   const CmdInfo *ci= pu;
   ouprintf("ack %s SignallingPredictedProblem %s %s : %s\n",
-          ci->name,
-          tra->pname, seg ? seg->i->pname : "?", message);
+          ci->name, tra->pname, seg->i->pname, message);
 }
 
 #define MUSTECRPREDICT(requester) do{                                  \