Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 22:53:52 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r252076 - head/usr.sbin/bsdconfig/share/media
Message-ID:  <201306212253.r5LMrqCd072814@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Fri Jun 21 22:53:51 2013
New Revision: 252076
URL: http://svnweb.freebsd.org/changeset/base/252076

Log:
  Style.

Modified:
  head/usr.sbin/bsdconfig/share/media/httpproxy.subr
  head/usr.sbin/bsdconfig/share/media/options.subr

Modified: head/usr.sbin/bsdconfig/share/media/httpproxy.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/httpproxy.subr	Fri Jun 21 22:47:31 2013	(r252075)
+++ head/usr.sbin/bsdconfig/share/media/httpproxy.subr	Fri Jun 21 22:53:51 2013	(r252076)
@@ -133,7 +133,7 @@ f_media_set_http_proxy()
 #
 f_http_proxy_check_access()
 {
-	local connect_only="$1" hosts=""
+	local connect_only="$1" hosts=
 
 	local proxy_host proxy_port
 	f_getvar $VAR_HTTP_PROXY_HOST proxy_host

Modified: head/usr.sbin/bsdconfig/share/media/options.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/options.subr	Fri Jun 21 22:47:31 2013	(r252075)
+++ head/usr.sbin/bsdconfig/share/media/options.subr	Fri Jun 21 22:53:51 2013	(r252076)
@@ -157,23 +157,15 @@ f_media_options_menu()
 			device_media get type cp
 			case "$cp" in
 			$DEVICE_TYPE_UFS|$DEVICE_TYPE_DISK)
-				cp="$msg_file_system";;
-			$DEVICE_TYPE_DIRECTORY)
-				cp="$msg_directory";;
-			$DEVICE_TYPE_FLOPPY)
-				cp="$msg_floppy";;
-			$DEVICE_TYPE_FTP)
-				cp="$msg_ftp";;
-			$DEVICE_TYPE_HTTP_PROXY)
-				cp="$msg_http_proxy";;
-			$DEVICE_TYPE_CDROM)
-				cp="$msg_cdrom";;
-			$DEVICE_TYPE_USB)
-				cp="$msg_usb";;
-			$DEVICE_TYPE_DOS)
-				cp="$msg_dos";;
-			$DEVICE_TYPE_NFS)
-				cp="$msg_nfs";;
+				cp="$msg_file_system" ;;
+			$DEVICE_TYPE_DIRECTORY)  cp="$msg_directory"  ;;
+			$DEVICE_TYPE_FLOPPY)     cp="$msg_floppy"     ;;
+			$DEVICE_TYPE_FTP)        cp="$msg_ftp"        ;;
+			$DEVICE_TYPE_HTTP_PROXY) cp="$msg_http_proxy" ;;
+			$DEVICE_TYPE_CDROM)      cp="$msg_cdrom"      ;;
+			$DEVICE_TYPE_USB)        cp="$msg_usb"        ;;
+			$DEVICE_TYPE_DOS)        cp="$msg_dos"        ;;
+			$DEVICE_TYPE_NFS)        cp="$msg_nfs"        ;;
 			*)
 				cp="<$msg_unknown>"
 			esac



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306212253.r5LMrqCd072814>