Merged revisions 53072 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Thu, 1 Feb 2007 19:34:54 +0000 (19:34 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 1 Feb 2007 19:34:54 +0000 (19:34 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53072 | file | 2007-02-01 13:33:33 -0600 (Thu, 01 Feb 2007) | 2 lines

Add missing 'F' letter to getopt so it magically becomes a valid option. (issue #8960 reported by tzafrir)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53073 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/asterisk.c

index 315e7ae..8d899cc 100644 (file)
@@ -2387,7 +2387,7 @@ int main(int argc, char *argv[])
        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':