From b1be2a6d83aa9b9404ca735e73e73dc903625dc7 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 23 Oct 2003 19:57:58 +0000 Subject: Removed unneeded CAMEL_OBJECT() casts. 2003-10-23 Jeffrey Stedfast * *.c: Removed unneeded CAMEL_OBJECT() casts. svn path=/trunk/; revision=23052 --- camel/camel-http-stream.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'camel/camel-http-stream.c') 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; } -- cgit v1.2.3