From 393568e5c0d8521ced69d3babb1ad504becf4467 Mon Sep 17 00:00:00 2001 From: Romain 'Table' DROUIN <romaindrouin14@gmail.com> Date: Sun, 8 Jul 2018 23:50:34 +0200 Subject: [PATCH] Correction de strciends --- psys/src/strings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/psys/src/strings.c b/psys/src/strings.c index 63d2a91..39ab87d 100644 --- a/psys/src/strings.c +++ b/psys/src/strings.c @@ -107,7 +107,8 @@ int strciends(char *s1, char *s2) if (skip < 0) return 0; - return strcicmp(s1 + skip, s2); + return !strcicmp(s1 + skip, s2); + } /* case insensitive version of strcmp. */ -- GitLab