[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r2706 - GNUnet/src/applications/fs/tools
From: |
grothoff |
Subject: |
[GNUnet-SVN] r2706 - GNUnet/src/applications/fs/tools |
Date: |
Mon, 1 May 2006 20:45:37 -0700 (PDT) |
Author: grothoff
Date: 2006-05-01 20:45:35 -0700 (Mon, 01 May 2006)
New Revision: 2706
Modified:
GNUnet/src/applications/fs/tools/gnunet-search.c
Log:
fixing Mantis 1066
Modified: GNUnet/src/applications/fs/tools/gnunet-search.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-search.c 2006-05-01 23:30:38 UTC
(rev 2705)
+++ GNUnet/src/applications/fs/tools/gnunet-search.c 2006-05-02 03:45:35 UTC
(rev 2706)
@@ -58,6 +58,8 @@
char * uri;
char * filename;
+ if (0 == sc->max)
+ return;
if (event->type != FSUI_search_result)
return;
@@ -76,7 +78,7 @@
filename = ECRS_getFromMetaData(event->data.SearchResult.fi.meta,
EXTRACTOR_FILENAME);
if (filename != NULL) {
- char *dotdot;
+ char * dotdot;
while (NULL != (dotdot = strstr(filename, "..")))
dotdot[0] = dotdot[1] = '_';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r2706 - GNUnet/src/applications/fs/tools,
grothoff <=