Extract tiger.[ch] and utils.[ch] as common code.
[doldaconnect.git] / daemon / fnet-dc.c
index 0179223..175563b 100644 (file)
@@ -44,7 +44,7 @@
 #include "transfer.h"
 #include "sysevents.h"
 #include "net.h"
-#include "tiger.h"
+#include <tiger.h>
 
 /*
  * The Direct Connect protocol is extremely ugly. Thus, this code must
@@ -3523,6 +3523,8 @@ static void listtimercb(int cancelled, void *uudata)
 
 static void updatelists(int now)
 {
+    if((hmlistname == NULL) || (xmllistname == NULL) || (xmlbz2listname == NULL))
+       now = 1;
     if(!now)
     {
        if(listwritetimer == NULL)