]> git.sesse.net Git - nbtscanner/blobdiff - outputfile.c
Import nbtscanner 0.2.0.
[nbtscanner] / outputfile.c
index 90efe58ce49c280e5b62df9e5695f17e834d0b8d..05024fa675cc52b2a475103aeda55be386df4ce9 100644 (file)
@@ -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) {}