projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
540d3f6
)
syntax/whitespace touchup
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 9 May 2005 21:51:15 +0000
(21:51 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 9 May 2005 21:51:15 +0000
(21:51 -0000)
libbb/concat_path_file.c
patch
|
blob
|
history
diff --git
a/libbb/concat_path_file.c
b/libbb/concat_path_file.c
index 77c054530309ebd6273295c0dddbfa1a4370278a..00233ad9a37ebead3703e9d0b3d4f27afd204da6 100644
(file)
--- a/
libbb/concat_path_file.c
+++ b/
libbb/concat_path_file.c
@@
-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;
}