syntax/whitespace touchup
authorMike Frysinger <vapier@gentoo.org>
Mon, 9 May 2005 21:51:15 +0000 (21:51 -0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 9 May 2005 21:51:15 +0000 (21:51 -0000)
libbb/concat_path_file.c

index 77c054530309ebd6273295c0dddbfa1a4370278a..00233ad9a37ebead3703e9d0b3d4f27afd204da6 100644 (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;
 }