pkgsrc/net/soup/patches/patch-ah

13 lines
422 B
Text

$NetBSD: patch-ah,v 1.1 2006/06/27 14:55:54 wiz Exp $
--- src/libsoup/soup-server.c.orig 2002-07-26 15:34:12.000000000 +0000
+++ src/libsoup/soup-server.c
@@ -312,7 +312,7 @@ read_headers_cgi (SoupMessage *msg,
/*
* Get request HTTP method
*/
- (gchar *) msg->method = g_strdup (g_getenv ("REQUEST_METHOD"));
+ msg->method = g_strdup (g_getenv ("REQUEST_METHOD"));
/*
* Get content length of request body