[gtk-vnc] Remove trailing '.' from error messages



commit 27b2ae6178844f58aac30a7da94c4e98405a82d2
Author: Daniel P. Berrange <berrange redhat com>
Date:   Tue Aug 16 10:37:28 2016 +0100

    Remove trailing '.' from error messages
    
    Signed-off-by: Daniel P. Berrange <berrange redhat com>

 src/vncconnection.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/vncconnection.c b/src/vncconnection.c
index 9e7647e..64f58dc 100644
--- a/src/vncconnection.c
+++ b/src/vncconnection.c
@@ -1413,11 +1413,11 @@ static int vnc_connection_validate_certificate(VncConnection *conn)
 
     if (status != 0) {
         if (status & GNUTLS_CERT_INVALID) {
-            vnc_connection_set_error(conn, "%s", "The certificate is not trusted.");
+            vnc_connection_set_error(conn, "%s", "The certificate is not trusted");
         } else if (status & GNUTLS_CERT_SIGNER_NOT_FOUND) {
-            vnc_connection_set_error(conn, "%s", "The certificate hasn't got a known issuer.");
+            vnc_connection_set_error(conn, "%s", "The certificate hasn't got a known issuer");
         } else if (status & GNUTLS_CERT_REVOKED) {
-            vnc_connection_set_error(conn, "%s", "The certificate has been revoked.");
+            vnc_connection_set_error(conn, "%s", "The certificate has been revoked");
         } else if (status & GNUTLS_CERT_INSECURE_ALGORITHM) {
             vnc_connection_set_error(conn, "%s", "The certificate uses an insecure algorithm");
         } else {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]