0b0c072d96f3cf26f44d724353e4a48ba78d57b5 galt Sat Mar 26 11:53:05 2011 -0700 fixing FTP UTC time converted to localtime for udc, removed 1 debug comment, expanded comment about ftp time being UTC diff --git src/inc/net.h src/inc/net.h index 1e92363..3d8f076 100644 --- src/inc/net.h +++ src/inc/net.h @@ -223,23 +223,23 @@ * If the http header indicates that the file has moved, then it will update the *redirectedSd and * *redirectedUrl with the new socket and URL, first closing sd. * If for some reason you want to detect whether the forwarding has occurred you could * call this as: * char *newUrl = NULL; * int newSd = 0; * netSkipHttpHeaderLine(sd, url, &newSd, &newUrl); * if (newUrl != NULL) * // Update sd with newSd, free url if appropriate and replace it with newUrl, etc. * // free newUrl when finished. * This routine handles up to 5 steps of redirection. * The logic to this routine is also complicated a little to make it work in a pipe, which means we * can't attach a lineFile since filling the lineFile buffer reads in more than just the http header. */ boolean netGetFtpInfo(char *url, long long *retSize, time_t *retTime); -/* Return date and size of ftp url file */ +/* Return date in UTC and size of ftp url file */ boolean parallelFetch(char *url, char *outPath, int numConnections, int numRetries); /* Open multiple parallel connections to URL to speed downloading */ #endif /* NET_H */