X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fstrncmp.c;h=2965b0d37bd029724f461ec2641f848b57fe1bda;hp=1e9119dbd56ec0d70888a681a257452bad549e4d;hb=d7154dc8cd1b7d41d0d956b7310e59d794f1a59f;hpb=da0d02da53b8a309d85ae19e6b9e5ff1cde9c4a5 diff --git a/functions/string/strncmp.c b/functions/string/strncmp.c index 1e9119d..2965b0d 100644 --- a/functions/string/strncmp.c +++ b/functions/string/strncmp.c @@ -16,7 +16,7 @@ int strncmp( const char * s1, const char * s2, size_t n ) ++s2; --n; } - if ( ( n == 0 ) ) + if ( n == 0 ) { return 0; }