[asterisk-commits] file: branch 1.4 r53072 - /branches/1.4/main/asterisk.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Feb 1 12:33:33 MST 2007


Author: file
Date: Thu Feb  1 13:33:33 2007
New Revision: 53072

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53072
Log:
Add missing 'F' letter to getopt so it magically becomes a valid option. (issue #8960 reported by tzafrir)

Modified:
    branches/1.4/main/asterisk.c

Modified: branches/1.4/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/asterisk.c?view=diff&rev=53072&r1=53071&r2=53072
==============================================================================
--- branches/1.4/main/asterisk.c (original)
+++ branches/1.4/main/asterisk.c Thu Feb  1 13:33:33 2007
@@ -2455,7 +2455,7 @@
 	if (getenv("HOME")) 
 		snprintf(filename, sizeof(filename), "%s/.asterisk_history", getenv("HOME"));
 	/* Check for options */
-	while ((c = getopt(argc, argv, "mtThfdvVqprRgciInx:U:G:C:L:M:")) != -1) {
+	while ((c = getopt(argc, argv, "mtThfFdvVqprRgciInx:U:G:C:L:M:")) != -1) {
 		switch (c) {
 #if HAVE_WORKING_FORK
 		case 'F':



More information about the asterisk-commits mailing list