]> xenbits.xensource.com Git - libvirt.git/commitdiff
src/phyp: Remove the whitespace before ';'
authorOsier Yang <jyang@redhat.com>
Tue, 21 May 2013 07:21:19 +0000 (15:21 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 21 May 2013 15:41:44 +0000 (23:41 +0800)
src/phyp/phyp_driver.c

index 4594cbf22e84ddadd771dd988149aeb317c1e5ee..70d3adbe65bc12b145e7d1698890d1327010f01d 100644 (file)
@@ -1008,7 +1008,7 @@ connected:
     libssh2_session_set_blocking(session, 0);
 
     while ((rc = libssh2_session_startup(session, sock)) ==
-           LIBSSH2_ERROR_EAGAIN) ;
+           LIBSSH2_ERROR_EAGAIN);
     if (rc) {
         virReportError(VIR_ERR_INTERNAL_ERROR,
                        "%s", _("Failure establishing SSH session."));
@@ -1026,7 +1026,7 @@ connected:
                                                 pubkey,
                                                 pvtkey,
                                                 NULL)) ==
-           LIBSSH2_ERROR_EAGAIN) ;
+           LIBSSH2_ERROR_EAGAIN);
 
 keyboard_interactive:
     if (rc == LIBSSH2_ERROR_SOCKET_NONE
@@ -1049,7 +1049,7 @@ keyboard_interactive:
         while ((rc =
                 libssh2_userauth_password(session, username,
                                           password)) ==
-               LIBSSH2_ERROR_EAGAIN) ;
+               LIBSSH2_ERROR_EAGAIN);
 
         if (rc) {
             virReportError(VIR_ERR_AUTH_FAILED,