mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Make sizeof formatting consistent
Everything else in that file uses sizeof with parentheses.
This commit is contained in:
parent
e4e26f2428
commit
706a157fc6
@ -837,7 +837,7 @@ g_opendir(str, pglob)
|
||||
char buf[MAXPATHLEN];
|
||||
|
||||
if (!*str)
|
||||
strlcpy(buf, ".", sizeof buf);
|
||||
strlcpy(buf, ".", sizeof(buf));
|
||||
else {
|
||||
if (g_Ctoc(str, buf, sizeof(buf)))
|
||||
return(NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user