diff options
author | Dan Winship <danw@src.gnome.org> | 2008-03-29 19:51:05 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2008-03-29 19:51:05 +0000 |
commit | 4b7d4b0a47c007fbbb3478e1b1619890ed1b545f (patch) | |
tree | a54d3898ab3920dbe3ad43846e3c4991813f965b /libsoup/soup-message.h | |
parent | ad93d598af6d605500ce42c8566dae509b17503a (diff) | |
download | libsoup-4b7d4b0a47c007fbbb3478e1b1619890ed1b545f.tar.gz |
de-constify msg->reason_phrase; it's no more const than any other struct
* libsoup/soup-message.h (SoupMessage): de-constify
msg->reason_phrase; it's no more const than any other struct
field.
* libsoup/soup-message.c (finalize)
(soup_message_cleanup_response, soup_message_set_status)
(soup_message_set_status_full): don't need to cast reason_phase to
non-const when freeing it now
* libsoup/soup-message-client-io.c (parse_response_headers):
Likewise, remove reason-phrase non-const casts
svn path=/trunk/; revision=1118
Diffstat (limited to 'libsoup/soup-message.h')
-rw-r--r-- | libsoup/soup-message.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-message.h b/libsoup/soup-message.h index 8045b337..002067d4 100644 --- a/libsoup/soup-message.h +++ b/libsoup/soup-message.h @@ -27,7 +27,7 @@ struct _SoupMessage { const char *method; guint status_code; - const char *reason_phrase; + char *reason_phrase; SoupMessageBody *request_body; SoupMessageHeaders *request_headers; |