syntax/whitespace touchup

1_00_stable_10817
Mike Frysinger 2005-05-09 21:51:15 +00:00
parent 540d3f60f3
commit 9dc93ac561
1 changed files with 2 additions and 2 deletions

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;
}