pkgsrc/www/cgilib/patches/patch-ad
dmcmahill 439aac4c5e - install the source to the example program (as recommended by the
program author and desired by at least one package user).
- format string patch for 64-bit systems
- add message notifying users that an executible cgi program has been
  installed in their cgi-bin directory (since they may wish to disable
  them).
2001-09-10 21:36:19 +00:00

18 lines
294 B
Text

$NetBSD: patch-ad,v 1.1 2001/09/10 21:36:21 dmcmahill Exp $
--- jumpto.c.orig Fri Aug 20 17:14:07 1999
+++ jumpto.c Mon Sep 10 16:18:39 2001
@@ -42,5 +42,5 @@
s_cgi *cgiArg;
-void main()
+int main()
{
char *url;
@@ -58,4 +58,6 @@
} else
cgiRedirect(url);
+
+ return 0;
}