aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/conduit/address-conduit.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/conduit/address-conduit.c')
-rw-r--r--addressbook/conduit/address-conduit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c
index c939b9cd27..ec89c9a34f 100644
--- a/addressbook/conduit/address-conduit.c
+++ b/addressbook/conduit/address-conduit.c
@@ -718,7 +718,7 @@ e_addr_context_destroy (EAddrConduitContext *ctxt)
}
/* Debug routines */
-static char *
+static const gchar *
print_local (EAddrLocalRecord *local)
{
static char buff[ 4096 ];
@@ -1532,12 +1532,12 @@ addressbook_authenticate (EBook *book,
gpointer data)
{
gchar *auth;
- gchar *user;
+ const gchar *user;
gchar *passwd;
gchar *str_uri;
gchar *pass_key;
gchar *auth_domain;
- gchar *component_name;
+ const gchar *component_name;
EUri *e_uri;
ESource *source = (ESource *)data;
@@ -1547,9 +1547,9 @@ addressbook_authenticate (EBook *book,
component_name = auth_domain ? auth_domain : "Addressbook";
if (auth && !strcmp ("plain/password", auth))
- user = (gchar *)e_source_get_property (source, "user");
+ user = e_source_get_property (source, "user");
else
- user = (gchar *)e_source_get_property (source, "email_addr");
+ user = e_source_get_property (source, "email_addr");
if (!user)
user = "";