CamelStoreInfo *info)
{
g_free (info->path);
- g_free (info->uri);
g_slice_free1 (summary->store_info_size, info);
}
camel_store_summary_lock (summary, CAMEL_STORE_SUMMARY_SUMMARY_LOCK);
g_hash_table_remove (summary->folders_path, (gchar *) camel_store_info_path (summary, info));
g_free (info->path);
- g_free (info->uri);
- info->uri = NULL;
info->path = g_strdup (str);
g_hash_table_insert (summary->folders_path, (gchar *) camel_store_info_path (summary, info), info);
summary->flags |= CAMEL_STORE_SUMMARY_DIRTY;
}
g_free (info->path);
info->path = v;
- g_free (info->uri);
- info->uri = NULL;
g_hash_table_insert (summary->folders_path, (gchar *) camel_store_info_path (summary, info), info);
camel_store_summary_unlock (summary, CAMEL_STORE_SUMMARY_SUMMARY_LOCK);
break;
gchar *line)
{
CamelStoreSummary *summ = (CamelStoreSummary *) store->summary;
- CamelURL *base_url;
CamelNNTPStoreInfo *si, *fsi;
- CamelURL *url;
gchar *relpath, *tmp;
guint32 last = 0, first = 0, new = 0;
- base_url = camel_service_get_camel_url (CAMEL_SERVICE (store));
-
tmp = strchr (line, ' ');
if (tmp)
*tmp++ = 0;
relpath = g_alloca (strlen (line) + 2);
sprintf(relpath, "/%s", line);
- url = camel_url_new_with_base (base_url, relpath);
- si->info.uri = camel_url_to_string (url, CAMEL_URL_HIDE_ALL);
- camel_url_free (url);
si->info.path = g_strdup (line);
si->full_name = g_strdup (line); /* why do we keep this? */