gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r1171 - gnunet-gtk/src


From: grothoff
Subject: [GNUnet-SVN] r1171 - gnunet-gtk/src
Date: Thu, 30 Jun 2005 11:08:37 -0700 (PDT)

Author: grothoff
Date: 2005-06-30 11:08:35 -0700 (Thu, 30 Jun 2005)
New Revision: 1171

Modified:
   gnunet-gtk/src/download.c
Log:
fix

Modified: gnunet-gtk/src/download.c
===================================================================
--- gnunet-gtk/src/download.c   2005-06-30 17:59:17 UTC (rev 1170)
+++ gnunet-gtk/src/download.c   2005-06-30 18:08:35 UTC (rev 1171)
@@ -294,8 +294,8 @@
   /* fixme: also update download model? */
   /* update directory view (if applicable!) */
   if ( (pos != NULL) &&
-       (pos->rr != NULL) ) {
-    size = getFileSize(filename);
+       (pos->rr != NULL) &&
+       (OK == getFileSize(filename, &size)) ) {
     fd = fileopen(filename, O_RDONLY);
     data = MMAP(NULL,
                size,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]