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