[Libguestfs] [PATCH nbdkit 2/3] crypto: add missing '{'

Pino Toscano ptoscano at redhat.com
Fri Oct 6 08:52:23 UTC 2017


Add missing opening curly bracket, fixing the build when GnuTLS is not
enabled.
---
 src/crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/crypto.c b/src/crypto.c
index 3f283b3..869627f 100644
--- a/src/crypto.c
+++ b/src/crypto.c
@@ -417,7 +417,7 @@ crypto_negotiate_tls (struct connection *conn, int sockin, int sockout)
 void
 crypto_init (int tls_set_on_cli)
 {
-  if (tls > 0)
+  if (tls > 0) {
     fprintf (stderr, "%s: TLS cannot be enabled because this binary was compiled without GnuTLS.\n",
              program_name);
     exit (EXIT_FAILURE);
-- 
2.13.6




More information about the Libguestfs mailing list