syntax/whitespace touchup

This commit is contained in:
Mike Frysinger 2005-05-09 21:51:15 +00:00
parent 540d3f60f3
commit 9dc93ac561

View File

@ -34,11 +34,11 @@ extern char *concat_path_file(const char *path, const char *filename)
char *lc;
if (!path)
path="";
path = "";
lc = last_char_is(path, '/');
while (*filename == '/')
filename++;
bb_xasprintf(&outbuf, "%s%s%s", path, (lc==NULL)? "/" : "", filename);
bb_xasprintf(&outbuf, "%s%s%s", path, (lc==NULL ? "/" : ""), filename);
return outbuf;
}