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-sasl-anonymous.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-sasl-anonymous.c')
-rw-r--r-- | camel/camel-sasl-anonymous.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/camel/camel-sasl-anonymous.c b/camel/camel-sasl-anonymous.c index 903212492d..9b97fdbc07 100644 --- a/camel/camel-sasl-anonymous.c +++ b/camel/camel-sasl-anonymous.c @@ -2,7 +2,7 @@ /* * Authors: Jeffrey Stedfast <fejj@ximian.com> * - * Copyright 2001 Ximian, Inc. (www.ximian.com) + * Copyright 2001-2003 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public @@ -20,6 +20,7 @@ * */ + #ifdef HAVE_CONFIG_H #include <config.h> #endif @@ -29,6 +30,7 @@ #include "camel-internet-address.h" #include <string.h> + CamelServiceAuthType camel_sasl_anonymous_authtype = { N_("Anonymous"), @@ -118,10 +120,10 @@ anon_challenge (CamelSasl *sasl, GByteArray *token, CamelException *ex) camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE, _("Invalid email address trace information:\n%s"), sasl_anon->trace_info); - camel_object_unref (CAMEL_OBJECT (cia)); + camel_object_unref (cia); return NULL; } - camel_object_unref (CAMEL_OBJECT (cia)); + camel_object_unref (cia); ret = g_byte_array_new (); g_byte_array_append (ret, sasl_anon->trace_info, strlen (sasl_anon->trace_info)); break; |