projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-doxygen and indentation
[oweals/gnunet.git]
/
src
/
fs
/
fs_list_indexed.c
diff --git
a/src/fs/fs_list_indexed.c
b/src/fs/fs_list_indexed.c
index 784c9881a4ce65857b03aa70e754e2048757bbcc..d76fd3e78fe8c032240b543d056f8e95fe52e68d 100644
(file)
--- a/
src/fs/fs_list_indexed.c
+++ b/
src/fs/fs_list_indexed.c
@@
-1,6
+1,6
@@
/*
This file is part of GNUnet.
/*
This file is part of GNUnet.
- (C) 2003, 2004, 2006, 2009 Christian Grothoff (and other contributing authors)
+
Copyright
(C) 2003, 2004, 2006, 2009 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
@@
-59,7
+59,7
@@
struct GNUNET_FS_GetIndexedContext
/**
* Continuation to trigger at the end.
*/
/**
* Continuation to trigger at the end.
*/
- GNUNET_SCHEDULER_Task cont;
+ GNUNET_SCHEDULER_Task
Callback
cont;
/**
* Closure for 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;
}
_("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;
gic->h = h;
gic->client = client;
gic->iterator = iterator;
@@
-176,7
+176,7
@@
GNUNET_FS_get_indexed_files (struct GNUNET_FS_Handle *h,
void
GNUNET_FS_get_indexed_files_cancel (struct GNUNET_FS_GetIndexedContext *gic)
{
void
GNUNET_FS_get_indexed_files_cancel (struct GNUNET_FS_GetIndexedContext *gic)
{
- GNUNET_CLIENT_disconnect (gic->client
, GNUNET_NO
);
+ GNUNET_CLIENT_disconnect (gic->client);
GNUNET_free (gic);
}
GNUNET_free (gic);
}