mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 23:48:09 +01:00
align coding style with style(9) to avoid misunderstandings
This commit is contained in:
parent
26286b8acf
commit
35f2d3b6b1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193223
@ -187,7 +187,8 @@ padvance(char **path, char *name)
|
||||
if (*path == NULL)
|
||||
return NULL;
|
||||
start = *path;
|
||||
for (p = start ; *p && *p != ':' && *p != '%' ; p++);
|
||||
for (p = start; *p && *p != ':' && *p != '%'; p++)
|
||||
; /* nothing */
|
||||
len = p - start + strlen(name) + 2; /* "2" is for '/' and '\0' */
|
||||
while (stackblocksize() < len)
|
||||
growstackblock();
|
||||
|
Loading…
Reference in New Issue
Block a user