X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrncmp.c;h=ad9e6209565508fbf6ea16d1369413096ea86741;hb=29387e76cd5cd340fe7d811dc9830931d3d0ec9b;hp=43321709ee515a0d4fcc1380b0bf2b8e0d250d26;hpb=393020b6e48719d27699dea6b29e53025bbd5123;p=pdclib 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; }