From 2cc876ebafc566267a6de49fe722257977967091 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 22 Mar 2011 17:08:02 +0100 Subject: [PATCH] Minor whitespace fixes. --- src/verify.c | 6 +++--- src/verify.h | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/verify.c b/src/verify.c index 4cd9d50..14c7127 100644 --- a/src/verify.c +++ b/src/verify.c @@ -121,8 +121,7 @@ int verify_tls_connection(gnutls_session_t session, const char *hostname) { size += strlen(buffer); /* Make sure the buffer is big enough. */ if (sizeof(stored_cert) <= size) { - LOG(LOG_WARNING, "verify_tls_connection(): '%s' too big", - path); + LOG(LOG_WARNING, "verify_tls_connection(): '%s' too big", path); fclose(file); return -1; } @@ -149,7 +148,8 @@ int verify_tls_connection(gnutls_session_t session, const char *hostname) { return 0; } -int server_certificate_path(FILE **file, const char *hostname, char *path, size_t size) { +int server_certificate_path(FILE **file, const char *hostname, + char *path, size_t size) { /* Hostname too long. */ if (size - strlen(STORED_SERVER_CERT_FORMAT) <= strlen(hostname)) { LOG(LOG_WARNING, diff --git a/src/verify.h b/src/verify.h index e39cc59..2e986db 100644 --- a/src/verify.h +++ b/src/verify.h @@ -20,7 +20,8 @@ #ifndef VERIFY_H #define VERIFY_H -int server_certificate_path(FILE **file, const char *hostname, char *path, size_t size); +int server_certificate_path(FILE **file, const char *hostname, + char *path, size_t size); int verify_tls_connection(gnutls_session_t session, const char *hostname); #endif -- 2.43.2