summaryrefslogtreecommitdiff
path: root/net/soup/patches/patch-ah
blob: 8768483fc8729e688cd8fd54efd75e4f1a8cf17c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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