Commit 92d27f5f authored by Julien Cristau's avatar Julien Cristau Committed by Bernhard Link

Fix minor/major code confusion in print_server_error()

Also make error seqno formatting consistent with the requests.
Patch by Chris Wilson.
parent 57b03eca
* bugfix: the major/minor codes were transposed in
print_server_error() (thanks to Chris Wilson)
* bugfix: fix LISTofTRAPEZOIDS offset in RenderTrapezoids (thanks to
Chris Wilson)
Chris Wilson)
* bugfix: when running xtrace with command, it was terminating
when all connections were closed while the command still run
......@@ -1536,12 +1536,12 @@ static inline void print_server_error(struct connection *c) {
seq = (unsigned int)serverCARD16(2);
startline(c, TO_CLIENT, "%x:Error %hhu=%s: major=%u, minor=%u, bad=%u\n",
startline(c, TO_CLIENT, "%04x:Error %hhu=%s: major=%u, minor=%u, bad=%u\n",
/* don't wait for any answer */
for( lastp = &c->expectedreplies ;
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