SuSE compile fixes

This commit is contained in:
Michiel Broek 2005-10-21 18:03:51 +00:00
parent d52ae4f113
commit 120deb862b
3 changed files with 6 additions and 3 deletions

View File

@ -7,6 +7,9 @@ v0.81.3 17-Oct-2005
mbcico: mbcico:
Changed uLongf to unsigned long in hydra driver. Changed uLongf to unsigned long in hydra driver.
mbsetup:
SuSE compile fix.
v0.81.2 14-Oct-2005 - 17-Oct-2005. v0.81.2 14-Oct-2005 - 17-Oct-2005.

View File

@ -684,7 +684,7 @@ int tic_group_doc(FILE *fp, FILE *toc, int page)
{ {
char *temp, group[13]; char *temp, group[13];
FILE *ti, *wp, *ip, *no; FILE *ti, *wp, *ip, *no;
int refs, i, First = TRUE;; int refs, i, First = TRUE;
time_t tt; time_t tt;
temp = calloc(PATH_MAX, sizeof(char)); temp = calloc(PATH_MAX, sizeof(char));

View File

@ -46,10 +46,10 @@ extern int do_quiet;
void dlcount(void) void dlcount(void)
{ {
char *temp, *p, *q, *date, *file, *base, month[20]; char *temp, *p, *q = NULL, *date, *file, *base, month[20];
FILE *fp; FILE *fp;
int i, date_ok, file_ok, result, filesize; int i, date_ok, file_ok, result, filesize;
time_t filedate, lastcheck; time_t filedate = (time_t)0, lastcheck;
struct tm tm; struct tm tm;
temp = calloc(PATH_MAX, sizeof(char)); temp = calloc(PATH_MAX, sizeof(char));