summaryrefslogtreecommitdiff
path: root/print_lbx.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:30:29 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:44:37 -0700
commit0167af41624e8ef86b657d83ece09fe4e12fd6a2 (patch)
tree7d054011f293d97713f7662b35afacb381696d36 /print_lbx.c
parentaec53bc090ef6b63e16efebab3f8c8e6f329eb6b (diff)
downloadxscope-0167af41624e8ef86b657d83ece09fe4e12fd6a2.tar.gz
Make big requests support work without modifying buffer
Fixes corruption of big requests data in -v4/raw output Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'print_lbx.c')
-rw-r--r--print_lbx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/print_lbx.c b/print_lbx.c
index ed6ddf6..cc9d90e 100644
--- a/print_lbx.c
+++ b/print_lbx.c
@@ -44,7 +44,7 @@ LbxQueryVersion (
if (Verbose > 1)
PrintField(SBf, 0, 4, CARD32, "sequence number");
- printfield(buf, 2, 2, CONST2(2), "request length");
+ printreqlen(buf, fd, CONST2(2));
}
void
@@ -78,7 +78,7 @@ LbxStartProxy (
if (Verbose > 1)
PrintField(SBf, 0, 4, CARD32, "sequence number");
- printfield(buf, 2, 2, CONST2(2), "request length");
+ printreqlen(buf, fd, CONST2(2));
}
void
@@ -93,7 +93,7 @@ LbxStopProxy (
if (Verbose > 1)
PrintField(SBf, 0, 4, CARD32, "sequence number");
- printfield(buf, 2, 2, CONST2(2), "request length");
+ printreqlen(buf, fd, CONST2(2));
}
void
@@ -115,7 +115,7 @@ LbxNewClient (
if (Verbose > 1)
PrintField(SBf, 0, 4, CARD32, "sequence number");
- printfield(buf, 2, 2, CONST2(2), "request length");
+ printreqlen(buf, fd, CONST2(2));
PrintField(buf, 4, 4, CARD32, "new-client-id");
}
@@ -152,7 +152,7 @@ LbxSwitch (
if (Verbose > 1)
PrintField(SBf, 0, 4, CARD32, "sequence number");
- printfield(buf, 2, 2, CONST2(2), "request length");
+ printreqlen(buf, fd, CONST2(2));
PrintField(buf, 4, 4, CARD32, "client number");
}
@@ -173,7 +173,7 @@ LbxModifySequence (
if (Verbose > 1)
PrintField(SBf, 0, 4, CARD32, "sequence number");
- printfield(buf, 2, 2, CONST2(2), "request length");
+ printreqlen(buf, fd, CONST2(2));
printfield(buf, 4, 4, INT32, "adjustment");
}