mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-07 21:03:35 +00:00
Added fclose to ExportBaseData
This commit is contained in:
1 parent
1822347a46
commit
5a6f2467f8
1 file changed
+4
-2
@@ -187,15 +187,17 @@ void ExportBaseData(SharedDatabase *db) {
|
||||
if(i != 0) {
|
||||
line.push_back('^');
|
||||
}
|
||||
|
||||
|
||||
line += row[i];
|
||||
}
|
||||
|
||||
|
||||
fprintf(f, "%s\n", line.c_str());
|
||||
}
|
||||
mysql_free_result(result);
|
||||
} else {
|
||||
LogFile->write(EQEMuLog::Error, "Error in ExportBaseData query '%s' %s", query, errbuf);
|
||||
}
|
||||
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user