[PATCH 06/12] Uniform coding style: don't use C99 // comments
Antonio Borneo
borneo.antonio at gmail.com
Sun Mar 10 07:06:10 EDT 2013
Signed-off-by: Antonio Borneo <borneo.antonio at gmail.com>
---
compat.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compat.c b/compat.c
index bc396f2..315cfb3 100644
--- a/compat.c
+++ b/compat.c
@@ -62,9 +62,9 @@ static int oc_vasprintf(char **strp, const char *fmt, va_list ap)
__va_copy(ap2, ap);
#else
#error No va_copy()!
- // You could try this.
+ /* You could try this. */
ap2 = ap;
- // Or this
+ /* Or this */
*ap2 = *ap;
#endif
len = vsnprintf(res, 160, fmt, ap2);
--
1.7.3.4
More information about the openconnect-devel
mailing list