[Midnightbsd-cvs] CVS Commit: url.c: Style fixes.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Aug 9 20:35:00 EDT 2007


Log Message:
-----------
Style fixes.

Modified Files:
--------------
    src/usr.sbin/pkg_install/lib:
        url.c (r1.4 -> r1.5)

-------------- next part --------------
Index: url.c
===================================================================
RCS file: /home/cvs/src/usr.sbin/pkg_install/lib/url.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lusr.sbin/pkg_install/lib/url.c -Lusr.sbin/pkg_install/lib/url.c -u -r1.4 -r1.5
--- usr.sbin/pkg_install/lib/url.c
+++ usr.sbin/pkg_install/lib/url.c
@@ -99,13 +99,13 @@
 	strcpy(fname, spec);
 
     if (keep_package) {
-    	tmp = getenv("PKGDIR");
+	tmp = getenv("PKGDIR");
 	strlcpy(pkg, tmp ? tmp : ".", sizeof(pkg));
 	tmp = basename(fname);
 	strlcat(pkg, "/", sizeof(pkg));
 	strlcat(pkg, tmp, sizeof(pkg));
-    	if ((pkgfd = open(pkg, O_WRONLY|O_CREAT|O_TRUNC, 0644)) == -1) {
-    	    printf("Error: Unable to open %s\n", pkg);
+	if ((pkgfd = open(pkg, O_WRONLY|O_CREAT|O_TRUNC, 0644)) == -1) {
+	    printf("Error: Unable to open %s\n", pkg);
 	    perror("open");
 	    return NULL;
 	}


More information about the Midnightbsd-cvs mailing list