From 78e909686510c0ae1ce2c45aa08d44c80a51dcda Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 26 Nov 2013 11:34:46 +0100 Subject: [PATCH] sasl: Replace 'restep' label with 'continue' Since the label is at the beginning of the loop, this has the same effect. --- src/remote/remote_driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 60b65a36e4..c43ce1d738 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -4136,7 +4136,6 @@ remoteAuthSASL(virConnectPtr conn, struct private_data *priv, * Even if the server has completed, the client must *always* do at least one step * in this loop to verify the server isn't lying about something. Mutual auth */ for (;;) { - restep: if ((err = virNetSASLSessionClientStep(sasl, serverin, serverinlen, @@ -4151,7 +4150,7 @@ remoteAuthSASL(virConnectPtr conn, struct private_data *priv, VIR_FREE(iret.mechlist); goto cleanup; } - goto restep; + continue; } VIR_FREE(serverin);