]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
sasl: Replace 'restep' label with 'continue'
authorChristophe Fergeau <cfergeau@redhat.com>
Tue, 26 Nov 2013 10:34:46 +0000 (11:34 +0100)
committerChristophe Fergeau <cfergeau@redhat.com>
Tue, 26 Nov 2013 10:52:58 +0000 (11:52 +0100)
Since the label is at the beginning of the loop, this has the same effect.

src/remote/remote_driver.c

index 60b65a36e4c3c2c59be2e7a00e0d9df17729577a..c43ce1d7384dbf7ae6d212c21689b0d2f23ecf7a 100644 (file)
@@ -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);