You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
482 B
21 lines
482 B
|
23 years ago
|
--- libGeoIP/GeoIPUpdate.c.orig Mon Oct 28 06:06:13 2002
|
||
|
|
+++ libGeoIP/GeoIPUpdate.c Tue Oct 29 08:57:03 2002
|
||
|
|
@@ -28,6 +28,7 @@
|
||
|
|
#include "zlib.h"
|
||
|
|
#include "time.h"
|
||
|
|
#include <netdb.h>
|
||
|
|
+#include <stdio.h>
|
||
|
|
#include <sys/file.h>
|
||
|
|
|
||
|
|
/*
|
||
|
|
@@ -73,7 +74,8 @@
|
||
|
|
char *uncompr = NULL, *compr;
|
||
|
|
unsigned long comprLen;
|
||
|
|
FILE * comp_fh, * cur_db_fh;
|
||
|
|
- gzFile gz_fh, gi_fh;
|
||
|
|
+ gzFile gz_fh;
|
||
|
|
+ FILE *gi_fh;
|
||
|
|
char * file_path_gz;
|
||
|
|
MD5_CTX context;
|
||
|
|
unsigned char buffer[1024], digest[16];
|