[libvirt] [PATCH 08/31] src/phyp: Remove the whitespace before '; '

Osier Yang jyang at redhat.com
Tue May 21 10:00:38 UTC 2013


---
 src/phyp/phyp_driver.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
index 4594cbf..70d3adb 100644
--- a/src/phyp/phyp_driver.c
+++ b/src/phyp/phyp_driver.c
@@ -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,
-- 
1.8.1.4




More information about the libvir-list mailing list