[PATCH] trivial fix for 1.2.10

Giovanni Giacobbi <[email protected]>
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <20040228004616.GA18880@lowca>
Attached there is a simple fix for the `-i' command line switch.
For any comments please CC me as I'm not subscribed to the list.

Regards

-- 
Giovanni Giacobbi

_______________________________________________
xmms-devel mailing list
[email protected]
http://lists.xmms.org/mailman/listinfo/xmms-devel
xmms-1.2.10-getoptfix.patch (text/plain, 412 B)
--- xmms-1.2.10/xmms/main.c.orig	2004-02-23 21:31:43.000000000 +0100
+++ xmms-1.2.10/xmms/main.c	2004-02-27 23:16:45.000000000 +0100
@@ -3275,7 +3275,7 @@
 
 	memset(opt, 0, sizeof(struct cmdlineopt));
 	opt->session = -1;
-	while ((c = getopt_long(argc, argv, "hn:rpusfemvt", long_options, NULL)) != -1)
+	while ((c = getopt_long(argc, argv, "hn:rpusftmevi:", long_options, NULL)) != -1)
 	{
 		switch (c)
 		{
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.