projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
715d79f
)
-fix #2436
author
Christian Grothoff
<christian@grothoff.org>
Wed, 20 Jun 2012 11:12:26 +0000
(11:12 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 20 Jun 2012 11:12:26 +0000
(11:12 +0000)
src/fs/fs_download.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_download.c
b/src/fs/fs_download.c
index e31575cef02897d64c06de82971262ac2870d1aa..7273b56d88e263138b4540b1dccd64ec7b5a6021 100644
(file)
--- a/
src/fs/fs_download.c
+++ b/
src/fs/fs_download.c
@@
-2302,7
+2302,8
@@
GNUNET_FS_download_stop (struct GNUNET_FS_DownloadContext *dc, int do_delete)
{
if ((dc->completed != dc->length) && (GNUNET_YES == do_delete))
{
- if (0 != UNLINK (dc->filename))
+ if ( (0 != UNLINK (dc->filename)) &&
+ (ENOENT != errno) )
GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, "unlink",
dc->filename);
}