diff options
Diffstat (limited to 'lib/zlib/contrib/minizip/minizip.c')
-rw-r--r-- | lib/zlib/contrib/minizip/minizip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zlib/contrib/minizip/minizip.c b/lib/zlib/contrib/minizip/minizip.c index f2dfecd8b1..2aae64c0a0 100644 --- a/lib/zlib/contrib/minizip/minizip.c +++ b/lib/zlib/contrib/minizip/minizip.c @@ -77,7 +77,7 @@ uLong filetime(f, tmzip, dt) len = MAXFILENAME; strncpy(name, f,MAXFILENAME-1); - /* strncpy doesnt append the trailing NULL, of the string is too long. */ + /* strncpy doesn't append the trailing NULL, if the string is too long. */ name[ MAXFILENAME ] = '\0'; if (name[len - 1] == '/') @@ -253,7 +253,7 @@ int main(argc,argv) zipok = 1 ; strncpy(filename_try, argv[zipfilenamearg],MAXFILENAME-1); - /* strncpy doesnt append the trailing NULL, of the string is too long. */ + /* strncpy doesn't append the trailing NULL, if the string is too long. */ filename_try[ MAXFILENAME ] = '\0'; len=(int)strlen(filename_try); |