[dev] [sbase] [PATCH] Replace strlen with unary_n to test zero length.

From: noname <noname_AT_inventati.org>
Date: Sun, 22 Feb 2015 19:37:48 +0000

---
 test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test.c b/test.c
index 660048a..957b205 100644
--- a/test.c
+++ b/test.c
_AT_@ -100,7 +100,7 @@ noarg(char **argv)
 static int
 onearg(char **argv)
 {
-	return strlen(argv[0]);
+	return unary_n(argv[0]);
 }
 
 static int
-- 
1.8.4
Received on Sun Feb 22 2015 - 20:37:48 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 22 2015 - 20:48:07 CET