Fixed errors from previous commit. Sorry.

This commit is contained in:
O1L 2013-11-13 23:43:44 +04:00
parent 6d56f1ae86
commit b1caa5f9c4
4 changed files with 2 additions and 1498 deletions

View file

@ -203,17 +203,16 @@ static void print_pkg_header(pkg_header *header)
ConLog.Write( "KLicensee: %s\n", kl);
}
static void *pkg_info(const char *fname, pkg_header **h_ptr)
static void *pkg_info(const char *fname, pkg_header **h_ptr)
{
FILE *f;
FILE *g;
pkg_header *header;
f = (FILE*) pkg_open(fname);
if (f == NULL)
return NULL;
if (pkg_sanity_check(f, g, &header, fname))
if (pkg_sanity_check(f, NULL, &header, fname))
return NULL;
print_pkg_header(header);