summaryrefslogtreecommitdiff
path: root/chat/inspircd12/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'chat/inspircd12/patches/patch-aa')
-rw-r--r--chat/inspircd12/patches/patch-aa12
1 files changed, 6 insertions, 6 deletions
diff --git a/chat/inspircd12/patches/patch-aa b/chat/inspircd12/patches/patch-aa
index f4e50668bd8..82bbf0b9ae4 100644
--- a/chat/inspircd12/patches/patch-aa
+++ b/chat/inspircd12/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/01/04 00:52:27 adrianp Exp $
+$NetBSD: patch-aa,v 1.2 2009/06/06 17:02:21 adrianp Exp $
---- src/inspircd.cpp.orig 2008-04-13 19:17:35.000000000 +0100
+--- src/inspircd.cpp.orig 2009-04-16 16:46:17.000000000 +0100
+++ src/inspircd.cpp
-@@ -383,7 +383,7 @@ InspIRCd::InspIRCd(int argc, char** argv
- { 0, 0, 0, 0 }
+@@ -446,7 +446,7 @@ InspIRCd::InspIRCd(int argc, char** argv
};
-- while ((c = getopt_long_only(argc, argv, ":f:", longopts, NULL)) != -1)
-+ while ((c = getopt_long(argc, argv, ":f:", longopts, NULL)) != -1)
+ int index;
+- while ((c = getopt_long_only(argc, argv, ":f:", longopts, &index)) != -1)
++ while ((c = getopt_long(argc, argv, ":f:", longopts, &index)) != -1)
{
switch (c)
{