X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ffs%2Ffs_list_indexed.c;h=e10260d7b22a6739757f77a1c92a4ddf42b9fb0c;hb=3140154d46212e08e0d73ed891a66213a6813075;hp=ef03dee760bad2d0ab619dcaab4a91f771dde945;hpb=ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba;p=oweals%2Fgnunet.git diff --git a/src/fs/fs_list_indexed.c b/src/fs/fs_list_indexed.c index ef03dee76..e10260d7b 100644 --- a/src/fs/fs_list_indexed.c +++ b/src/fs/fs_list_indexed.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - (C) 2003, 2004, 2006, 2009 Christian Grothoff (and other contributing authors) + Copyright (C) 2003, 2004, 2006, 2009 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with GNUnet; see the file COPYING. If not, write to the - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ /** @@ -59,7 +59,7 @@ struct GNUNET_FS_GetIndexedContext /** * Continuation to trigger at the end. */ - GNUNET_SCHEDULER_Task cont; + GNUNET_SCHEDULER_TaskCallback cont; /** * Closure for cont. @@ -151,7 +151,7 @@ GNUNET_FS_get_indexed_files (struct GNUNET_FS_Handle *h, _("Failed to not connect to `%s' service.\n"), "fs"); return NULL; } - gic = GNUNET_malloc (sizeof (struct GNUNET_FS_GetIndexedContext)); + gic = GNUNET_new (struct GNUNET_FS_GetIndexedContext); gic->h = h; gic->client = client; gic->iterator = iterator;