diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-10-24 03:57:58 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-10-24 03:57:58 +0800 |
commit | b1be2a6d83aa9b9404ca735e73e73dc903625dc7 (patch) | |
tree | 36ede0609588101ba900b8c018462b7c7a3591c9 /camel/camel-http-stream.c | |
parent | 18ca85654d06140f30ea9db347dcf4f7cf00d7f0 (diff) | |
download | gsoc2013-evolution-b1be2a6d83aa9b9404ca735e73e73dc903625dc7.tar.gz gsoc2013-evolution-b1be2a6d83aa9b9404ca735e73e73dc903625dc7.tar.zst gsoc2013-evolution-b1be2a6d83aa9b9404ca735e73e73dc903625dc7.zip |
Removed unneeded CAMEL_OBJECT() casts.
2003-10-23 Jeffrey Stedfast <fejj@ximian.com>
* *.c: Removed unneeded CAMEL_OBJECT() casts.
svn path=/trunk/; revision=23052
Diffstat (limited to 'camel/camel-http-stream.c')
-rw-r--r-- | camel/camel-http-stream.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-http-stream.c b/camel/camel-http-stream.c index 40bf71fdd3..b754422a3a 100644 --- a/camel/camel-http-stream.c +++ b/camel/camel-http-stream.c @@ -200,7 +200,7 @@ http_connect (CamelHttpStream *http, CamelURL *url) if (camel_tcp_stream_connect (CAMEL_TCP_STREAM (stream), host, url->port ? url->port : 80) == -1) { errsave = errno; - camel_object_unref (CAMEL_OBJECT (stream)); + camel_object_unref (stream); camel_free_host (host); errno = errsave; return NULL; @@ -280,7 +280,7 @@ http_get_headers (CamelHttpStream *http) int err; if (http->parser) - camel_object_unref (CAMEL_OBJECT (http->parser)); + camel_object_unref (http->parser); http->parser = camel_mime_parser_new (); camel_mime_parser_init_with_stream (http->parser, http->read); @@ -324,7 +324,7 @@ http_get_headers (CamelHttpStream *http) err = camel_mime_parser_errno (http->parser); if (err != 0) { - camel_object_unref (CAMEL_OBJECT (http->parser)); + camel_object_unref (http->parser); http->parser = NULL; goto exception; } |