projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix #3704
[oweals/gnunet.git]
/
src
/
fs
/
fs_unindex.c
diff --git
a/src/fs/fs_unindex.c
b/src/fs/fs_unindex.c
index 14ab0fd691044d148b7ab5c62817737d7794304b..c87c4e4e9ae342ccaf06fab28fb2051b636eb4e3 100644
(file)
--- a/
src/fs/fs_unindex.c
+++ b/
src/fs/fs_unindex.c
@@
-1,6
+1,6
@@
/*
This file is part of GNUnet.
/*
This file is part of GNUnet.
- (C) 2003--2013 Christian Grothoff (and other contributing authors)
+
Copyright
(C) 2003--2013 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@
-767,7
+767,7
@@
GNUNET_FS_unindex_start (struct GNUNET_FS_Handle *h,
if (GNUNET_OK != GNUNET_DISK_file_size (filename, &size, GNUNET_YES, GNUNET_YES))
return NULL;
if (GNUNET_OK != GNUNET_DISK_file_size (filename, &size, GNUNET_YES, GNUNET_YES))
return NULL;
- ret = GNUNET_
malloc (sizeof (struct GNUNET_FS_UnindexContext)
);
+ ret = GNUNET_
new (struct GNUNET_FS_UnindexContext
);
ret->h = h;
ret->filename = GNUNET_strdup (filename);
ret->start_time = GNUNET_TIME_absolute_get ();
ret->h = h;
ret->filename = GNUNET_strdup (filename);
ret->start_time = GNUNET_TIME_absolute_get ();