X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrncmp.c;h=ad9e6209565508fbf6ea16d1369413096ea86741;hb=3a2027b97e7a6c7ecb9fcd4c24b4c74459faddbc;hp=43321709ee515a0d4fcc1380b0bf2b8e0d250d26;hpb=9fcf1b27fc705cc131b258478d95ce9de65aabc0;p=pdclib.old diff --git a/functions/string/strncmp.c b/functions/string/strncmp.c index 4332170..ad9e620 100644 --- a/functions/string/strncmp.c +++ b/functions/string/strncmp.c @@ -18,7 +18,7 @@ int strncmp( const char * s1, const char * s2, size_t n ) ++s2; --n; } - if ( ( n == 0 ) ) + if ( n == 0 ) { return 0; }