Commit af35082e authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Print remaining bytes in debug output.

parent 1e3f6cf9
......@@ -44,6 +44,10 @@ func (me *request) InputDebug() string {
names = fmt.Sprintf("names: %v", me.filenames)
}
if len(me.arg) > 0 {
names += fmt.Sprintf(" %d bytes", len(me.arg))
}
return fmt.Sprintf("Dispatch: %v, NodeId: %v.%v%v",
me.inHeader.opcode, me.inHeader.NodeId, val, names)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment