aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index e0cc56db..f5cb2b26 100644
--- a/driver.c
+++ b/driver.c
@@ -925,12 +925,12 @@ const struct method *proto; /* protocol method table */
len,
protocol->delimited,
ctl);
+ if (ok != 0)
+ goto cleanUp;
/* tell the server we got it OK and resynchronize */
if (protocol->trail)
(protocol->trail)(socket, ctl, num);
- if (ok != 0)
- goto cleanUp;
}
/*