align coding style with style(9) to avoid misunderstandings

This commit is contained in:
rse 2009-06-01 11:11:46 +00:00
parent 336f1ea816
commit 7e3e9ea5ae

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