Author: grothoff
Date: 2005-06-25 07:43:48 -0700 (Sat, 25 Jun 2005)
New Revision: 1002
Modified:
gnunet-gtk/src/upload.c
Log:
fix
Modified: gnunet-gtk/src/upload.c
===================================================================
--- gnunet-gtk/src/upload.c 2005-06-25 14:34:09 UTC (rev 1001)
+++ gnunet-gtk/src/upload.c 2005-06-25 14:43:48 UTC (rev 1002)
@@ -695,14 +695,14 @@
char * filename;
filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
- ret = strdup(filename);
+ ret = STRDUP(filename);
g_free(filename);
- }
- else
- ret = NULL;
+ } else
+ ret = NULL;
gtk_widget_destroy (dialog);
UNREF(uploadXML);
+ return ret;
#else /* MINGW */
return plibc_ChooseDir(_("Choose the file or directory you want to
publish."),
BIF_BROWSEINCLUDEFILES | BIF_USENEWUI | BIF_SHAREABLE |
BIF_NONEWFOLDERBUTTON);
_______________________________________________
GNUnet-SVN mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-svn