mirror of https://github.com/mirror/busybox.git
syntax/whitespace touchup
parent
540d3f60f3
commit
9dc93ac561
libbb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue