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:
406bc50
)
-fix
author
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Jan 2012 09:47:23 +0000
(09:47 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Jan 2012 09:47:23 +0000
(09:47 +0000)
src/fs/fs_dirmetascan.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_dirmetascan.c
b/src/fs/fs_dirmetascan.c
index b9fa45c1f97321c885d5c128823e687bd30c7e80..0459ca009cdf031e76be6f82eb10ccd9bd99dc21 100644
(file)
--- a/
src/fs/fs_dirmetascan.c
+++ b/
src/fs/fs_dirmetascan.c
@@
-765,6
+765,8
@@
scan_directory (void *cls, const char *filename)
{
do_stop = write_progress (adc, filename, S_ISDIR (sbuf.st_mode),
GNUNET_DIR_SCANNER_DOES_NOT_EXIST);
+ if (do_stop)
+ return GNUNET_SYSERR;
return GNUNET_OK;
}
@@
-774,7
+776,7
@@
scan_directory (void *cls, const char *filename)
if (do_stop)
{
/* We were asked to stop, acknowledge that and return */
-
do_stop =
write_progress (adc, filename, S_ISDIR (sbuf.st_mode),
+
(void)
write_progress (adc, filename, S_ISDIR (sbuf.st_mode),
GNUNET_DIR_SCANNER_ASKED_TO_STOP);
return GNUNET_SYSERR;
}