X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrncmp.c;h=2965b0d37bd029724f461ec2641f848b57fe1bda;hb=5464cb1b36c7db9a0b1720ef79b2a15fd2b1dcdd;hp=1e9119dbd56ec0d70888a681a257452bad549e4d;hpb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;p=pdclib 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; }