align coding style with style(9) to avoid misunderstandings

This commit is contained in:
Ralf S. Engelschall 2009-06-01 11:11:46 +00:00
parent 26286b8acf
commit 35f2d3b6b1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193223

View File

@ -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();