[Evolution-hackers] [CAMEL] camel_url_set_param() not working as I thought it would?
- From: Jules Colding <colding omesc com>
- To: Evolution Hackers <evolution-hackers gnome org>
- Subject: [Evolution-hackers] [CAMEL] camel_url_set_param() not working as I thought it would?
- Date: Fri, 07 Oct 2005 15:42:46 +0200
Hi,
I am using "camel_url_set_param()" to store a short string. The stored
string does not survive a restart of Evolution. I am doing something
like:
mapi_profile = camel_url_get_param(service->url, "mapi_profile");
if (!mapi_profile || !strlen(mapi_profile)) {
char guid_str[37] = { 0 };
uuid_t guid = { 0 };
uuid_generate(guid);
uuid_unparse(guid, guid_str);
must_free = g_strdup(guid_str);
mapi_profile = (const char*)must_free;
camel_url_set_param(service->url, "mapi_profile", mapi_profile);
}
The problem is that the retrieved mapi_profile never is the one that was
previously saved with camel_url_set_param().
Any ideas?
Thanks,
jules
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]