aboutsummaryrefslogtreecommitdiffstats
path: root/mail/majordomo/files/patch-md-sub__md-sub.cgi
blob: def15deb0ecb177614859743274c8839eea3b12c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./md-sub/md-sub.cgi.orig    2013-11-24 18:54:07.634476295 +0400
+++ ./md-sub/md-sub.cgi 2013-11-24 18:47:15.000000000 +0400
@@ -78,7 +78,7 @@
 #
 # Required file
 require 'cgi-lib.pl';
-require 'getopts.pl';
+use Getopt::Std;
 
 #
 # Version number
@@ -90,7 +90,7 @@
 
 #
 # Call Getopts
-&Getopts( 'C:v');
+getopts( 'C:v');
 
 #
 # Check to see if we are creating a DB