f9395e5162
ok todd@
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
$OpenBSD: patch-src_libsoup_soup-message_c,v 1.2 2003/01/03 21:38:43 marcm Exp $
|
|
--- src/libsoup/soup-message.c.orig Mon Dec 2 08:03:15 2002
|
|
+++ src/libsoup/soup-message.c Sun Dec 15 23:19:34 2002
|
|
@@ -992,9 +992,9 @@ typedef struct {
|
|
|
|
SoupHandlerKind kind;
|
|
union {
|
|
+ const gchar *header;
|
|
guint errorcode;
|
|
SoupErrorClass errorclass;
|
|
- const gchar *header;
|
|
} data;
|
|
} SoupHandlerData;
|
|
|
|
@@ -1007,7 +1007,7 @@ static SoupHandlerData global_handlers [
|
|
redirect_handler,
|
|
NULL,
|
|
RESPONSE_HEADER_HANDLER,
|
|
- { (guint) "Location" }
|
|
+ { "Location" }
|
|
},
|
|
/*
|
|
* Handle authorization.
|
|
@@ -1017,7 +1017,7 @@ static SoupHandlerData global_handlers [
|
|
(SoupCallbackFn) authorize_handler,
|
|
GINT_TO_POINTER (FALSE),
|
|
RESPONSE_ERROR_CODE_HANDLER,
|
|
- { 401 }
|
|
+ { GINT_TO_POINTER(401) }
|
|
},
|
|
/*
|
|
* Handle proxy authorization.
|
|
@@ -1027,7 +1027,7 @@ static SoupHandlerData global_handlers [
|
|
(SoupCallbackFn) authorize_handler,
|
|
GINT_TO_POINTER (TRUE),
|
|
RESPONSE_ERROR_CODE_HANDLER,
|
|
- { 407 }
|
|
+ { GINT_TO_POINTER(407) }
|
|
},
|
|
{ 0 }
|
|
};
|