gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6202 - GNUnet/src/applications/fs/gap


From: gnunet
Subject: [GNUnet-SVN] r6202 - GNUnet/src/applications/fs/gap
Date: Fri, 8 Feb 2008 01:58:06 -0700 (MST)

Author: grothoff
Date: 2008-02-08 01:58:06 -0700 (Fri, 08 Feb 2008)
New Revision: 6202

Modified:
   GNUnet/src/applications/fs/gap/plan.c
Log:
fix

Modified: GNUnet/src/applications/fs/gap/plan.c
===================================================================
--- GNUnet/src/applications/fs/gap/plan.c       2008-02-08 08:54:53 UTC (rev 
6201)
+++ GNUnet/src/applications/fs/gap/plan.c       2008-02-08 08:58:06 UTC (rev 
6202)
@@ -302,7 +302,10 @@
   /* insert into datastructure at pos */
   if (pos == NULL)
     {
-      qpl->tail->next = entry;
+      if (qpl->tail != NULL)
+       qpl->tail->next = entry;
+      else
+       qpl->head = entry;
       entry->prev = qpl->tail;
       qpl->tail = entry;
     }





reply via email to

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