X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=outputfile.c;fp=outputfile.c;h=05024fa675cc52b2a475103aeda55be386df4ce9;hb=7aa185f7ffbfb86dd631682014d3397c5ca82342;hp=90efe58ce49c280e5b62df9e5695f17e834d0b8d;hpb=ab5d8a35c1c111f64137f76939c68365cf4d22fb;p=nbtscanner diff --git a/outputfile.c b/outputfile.c index 90efe58..05024fa 100644 --- a/outputfile.c +++ b/outputfile.c @@ -38,7 +38,7 @@ int main(int argc, char *argv[]) { - parse_configfile(0); + parse_configfile(); if (!use_mysql) { if (verbosity >= 1) { @@ -47,11 +47,10 @@ int main(int argc, char *argv[]) exit(1); } + init_mysql(mysql_host, mysql_username, mysql_password); print_all_records_mysql(); finish_mysql(); return 0; } -/* will never be called */ -void scan_range(struct in_addr ip, int rangesize) {}