aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2005-06-13 12:00:59 +0000
committerChristian Grothoff <christian@grothoff.org>2005-06-13 12:00:59 +0000
commitd16c92ad34a06ac316830c39209e5d0488b3202c (patch)
treea254a27096e6a1808894574d5e81e743c00e4533
parenta8adb895494bc5285414ba7ea52998d6b9d9a95b (diff)
downloadgnunet-gtk-d16c92ad34a06ac316830c39209e5d0488b3202c.tar.gz
gnunet-gtk-d16c92ad34a06ac316830c39209e5d0488b3202c.zip
update
-rw-r--r--src/download.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/download.c b/src/download.c
index 4428941b..dca61157 100644
--- a/src/download.c
+++ b/src/download.c
@@ -100,6 +100,9 @@ static void initiateDownload(GtkTreeModel *model,
100 DIR_SEPARATOR_STR); 100 DIR_SEPARATOR_STR);
101 strcat(pfx, 101 strcat(pfx,
102 name); 102 name);
103 while ( (strlen(pfx) > 0) &&
104 (pfx[strlen(pfx)-1] == DIR_SEPARATOR) )
105 pfx[strlen(pfx)-1] = '\0';
103 if (0 == STAT(pfx, 106 if (0 == STAT(pfx,
104 &sbuf)) { 107 &sbuf)) {
105 guiMessage(_("File '%s' exists in '%s',\n" 108 guiMessage(_("File '%s' exists in '%s',\n"