SoupRequestHTTP: don't cast GFileInputStreams to SoupHTTPInputStream
authorDan Winship <danw@gnome.org>
Sat, 22 Oct 2011 14:54:29 +0000 (10:54 -0400)
committerDan Winship <danw@gnome.org>
Sun, 23 Oct 2011 12:51:32 +0000 (08:51 -0400)
commitcce1d04789320d4eec13f197e3f3f0f7e15eda3a
tree95ca627f0dd420b7e36a401bfe1efba5b48ac5be
parentf691eb6a7a41d06f1b8ceb2d98d9352c7ad23204
SoupRequestHTTP: don't cast GFileInputStreams to SoupHTTPInputStream

The return value of soup_cache_send_request() is not a
SoupHTTPInputStream, so don't cast it to that, because it's confusing.
libsoup/soup-http-input-stream.c
libsoup/soup-http-input-stream.h
libsoup/soup-request-http.c