[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1881 - gnunet-gtk/src/plugins/fs
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1881 - gnunet-gtk/src/plugins/fs |
Date: |
Tue, 23 Aug 2005 22:17:32 -0700 (PDT) |
Author: grothoff
Date: 2005-08-23 22:17:30 -0700 (Tue, 23 Aug 2005)
New Revision: 1881
Modified:
gnunet-gtk/src/plugins/fs/search.c
Log:
fixing assertion failure
Modified: gnunet-gtk/src/plugins/fs/search.c
===================================================================
--- gnunet-gtk/src/plugins/fs/search.c 2005-08-24 04:55:02 UTC (rev 1880)
+++ gnunet-gtk/src/plugins/fs/search.c 2005-08-24 05:17:30 UTC (rev 1881)
@@ -98,7 +98,10 @@
-1);
if (name == NULL)
name = STRDUP(_("no name given"));
- size = ECRS_fileSize(uri);
+ if (ECRS_isFileUri(uri))
+ size = ECRS_fileSize(uri);
+ else
+ size = 0;
thumb = NULL;
ts = ECRS_getThumbnailFromMetaData(meta,
&thumb);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1881 - gnunet-gtk/src/plugins/fs,
grothoff <=