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 

_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers

Reply via email to