Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 01 Oct 2013 04:03:21 +0000
changeset 141 78e574af0a2e
parent 140 69d34fba4a7b
child 142 2b13ec4e6eae
Patched to compile.
nph-offload.c
--- a/nph-offload.c	Mon Sep 30 23:55:55 2013 -0400
+++ b/nph-offload.c	Tue Oct 01 04:03:21 2013 +0000
@@ -125,6 +125,7 @@
 #include <netdb.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
+#include <utime.h>
 
 #define GVERSION "1.1.6"
 #define GSERVERSTRING "nph-offload.c/" GVERSION
@@ -1568,8 +1569,8 @@
         {
             listFree(&head);
             debugEcho("File is cached.");
-            utimes(GFileDataPath, NULL);  // update to latest time so we know what's being requested most.
-            utimes(GMetaDataPath, NULL);  // update to latest time so we know what's being requested most.
+            utime(GFilePath, NULL);  // update to latest time so we know what's being requested most.
+            utime(GMetaDataPath, NULL);  // update to latest time so we know what's being requested most.
         } // if
 
         else