summaryrefslogtreecommitdiff
path: root/chat/inspircd12/patches/patch-aa
blob: f4e50668bd862218a44042352e4f0e0287474d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.1.1.1 2009/01/04 00:52:27 adrianp Exp $

--- src/inspircd.cpp.orig	2008-04-13 19:17:35.000000000 +0100
+++ src/inspircd.cpp
@@ -383,7 +383,7 @@ InspIRCd::InspIRCd(int argc, char** argv
 		{ 0, 0, 0, 0 }
 	};
 
-	while ((c = getopt_long_only(argc, argv, ":f:", longopts, NULL)) != -1)
+	while ((c = getopt_long(argc, argv, ":f:", longopts, NULL)) != -1)
 	{
 		switch (c)
 		{