From 9fcbe8c7eaf21733a078cb5dfae41b9ac2a00d0e Mon Sep 17 00:00:00 2001
From: Robert de Bath <rdebath@tvisiontech.co.uk>
Date: Sun, 18 Jun 2017 10:16:45 +0100
Subject: [PATCH] Fixup compile using -std=c90

---
 common.c | 4 ++--
 tls.c    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common.c b/common.c
index be68338..8cd5a3d 100644
--- a/common.c
+++ b/common.c
@@ -173,7 +173,7 @@ int bind_peer(int fd, int fd_from)
     res = getpeername(fd_from, from.ai_addr, &from.ai_addrlen);
     CHECK_RES_RETURN(res, "getpeername");
     
-    // if the destination is the same machine, there's no need to do bind
+    /* if the destination is the same machine, there's no need to do bind */
     struct ifaddrs *ifaddrs_p = NULL, *ifa;
 
     getifaddrs(&ifaddrs_p);
@@ -201,7 +201,7 @@ int bind_peer(int fd, int fd_from)
                     match = 1;
             }
         }
-        if (match)  // the destination is the same as the source, should not create a transparent bind
+        if (match)  /* the destination is the same as the source, should not create a transparent bind */
             return 0;
     }
 
diff --git a/tls.c b/tls.c
index 3ba82a0..793046d 100644
--- a/tls.c
+++ b/tls.c
@@ -193,7 +193,7 @@ parse_extensions(const struct TLSProtocol *tls_data, const char *data, size_t da
                         last_matched = 1;
                     }
                 } else {
-                    // both can't match
+                    /* both can't match */
                     return -2;
                 }
             } else if (extension_type == 0x10) { /* ALPN */
@@ -207,7 +207,7 @@ parse_extensions(const struct TLSProtocol *tls_data, const char *data, size_t da
                         last_matched = 1;
                     }
                 } else {
-                    // both can't match
+                    /* both can't match */
                     return -2;
                 }
             }