gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7065 - gnunet-gtk/src/plugins/fs


From: gnunet
Subject: [GNUnet-SVN] r7065 - gnunet-gtk/src/plugins/fs
Date: Sat, 7 Jun 2008 01:02:28 -0600 (MDT)

Author: grothoff
Date: 2008-06-07 01:02:28 -0600 (Sat, 07 Jun 2008)
New Revision: 7065

Modified:
   gnunet-gtk/src/plugins/fs/download.c
Log:
removing idc_mime

Modified: gnunet-gtk/src/plugins/fs/download.c
===================================================================
--- gnunet-gtk/src/plugins/fs/download.c        2008-06-07 06:37:11 UTC (rev 
7064)
+++ gnunet-gtk/src/plugins/fs/download.c        2008-06-07 07:02:28 UTC (rev 
7065)
@@ -576,12 +576,10 @@
   char *dirPath;
   unsigned int dirPathLen;
   char *idc_name;
-  char *idc_mime;
 
   sdc.idc_uri = NULL;
   sdc.idc_meta = NULL;
   idc_name = NULL;
-  idc_mime = NULL;
   sdc.searchContext = NULL;
   sdc.parentContext = NULL;
   gtk_tree_model_get (model,
@@ -589,7 +587,6 @@
                       SEARCH_NAME, &idc_name,
                       SEARCH_URI, &sdc.idc_uri,
                       SEARCH_META, &sdc.idc_meta,
-                      SEARCH_MIME, &idc_mime,
                       SEARCH_INTERNAL, &sdc.searchContext,
                       SEARCH_INTERNAL_PARENT, &sdc.parentContext, -1);
   if ((sdc.idc_uri == NULL) ||
@@ -598,7 +595,6 @@
     {
       GNUNET_GE_BREAK (ectx, 0);
       GNUNET_free_non_null (idc_name);
-      GNUNET_free_non_null (idc_mime);
       return;
     }
   sdc.uri_name = GNUNET_ECRS_uri_to_string (sdc.idc_uri);
@@ -609,7 +605,6 @@
       GNUNET_GE_BREAK (ectx, 0);
       GNUNET_free_non_null (sdc.uri_name);
       GNUNET_free_non_null (idc_name);
-      GNUNET_free_non_null (idc_mime);
       return;
     }
   /* reduce "//" to "/" */
@@ -747,7 +742,6 @@
   GNUNET_free (sdc.idc_final_download_destination);
   GNUNET_free_non_null (final_download_dir);
   GNUNET_free_non_null (idc_name);
-  GNUNET_free_non_null (idc_mime);
 }
 
 /**





reply via email to

[Prev in Thread] Current Thread [Next in Thread]