[BusyBox-cvs] svn commit: trunk/busybox/libbb

vapier at busybox.net vapier at busybox.net
Mon May 9 21:51:16 UTC 2005


Author: vapier
Date: 2005-05-09 15:51:15 -0600 (Mon, 09 May 2005)
New Revision: 10273

Log:
syntax/whitespace touchup

Modified:
   trunk/busybox/libbb/concat_path_file.c


Changeset:
Modified: trunk/busybox/libbb/concat_path_file.c
===================================================================
--- trunk/busybox/libbb/concat_path_file.c	2005-05-09 21:42:42 UTC (rev 10272)
+++ trunk/busybox/libbb/concat_path_file.c	2005-05-09 21:51:15 UTC (rev 10273)
@@ -34,11 +34,11 @@
 	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;
 }




More information about the busybox-cvs mailing list