[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3908 - GNUnet/src/applications/fs/fsui
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3908 - GNUnet/src/applications/fs/fsui |
Date: |
Sat, 9 Dec 2006 21:58:39 -0800 (PST) |
Author: grothoff
Date: 2006-12-09 21:58:37 -0800 (Sat, 09 Dec 2006)
New Revision: 3908
Modified:
GNUnet/src/applications/fs/fsui/download.c
Log:
better
Modified: GNUnet/src/applications/fs/fsui/download.c
===================================================================
--- GNUnet/src/applications/fs/fsui/download.c 2006-12-10 05:56:51 UTC (rev
3907)
+++ GNUnet/src/applications/fs/fsui/download.c 2006-12-10 05:58:37 UTC (rev
3908)
@@ -296,7 +296,7 @@
struct ECRS_MetaData * md;
totalBytes = ECRS_fileSize(dl->fi.uri);
- fn = MALLOC(strlen(dl->filename) + strlen(GNUNET_DIRECTORY_EXT));
+ fn = MALLOC(strlen(dl->filename) + strlen(GNUNET_DIRECTORY_EXT) + 1);
strcpy(fn, dl->filename);
if (fn[strlen(fn)-1] == '/') {
fn[strlen(fn)-1] = '\0';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3908 - GNUnet/src/applications/fs/fsui,
grothoff <=