osm.bz2 parsing fixed

This commit is contained in:
Dennis Luxen
2011-03-18 10:54:09 +00:00
parent 6b6ed949b4
commit 73dc97b95d
+1 -1
View File
@@ -77,7 +77,7 @@ xmlTextReaderPtr inputReaderFactory( const char* name )
if(inputName.find(".osm.bz2")!=string::npos)
{
BZ2Context* context = new BZ2Context;
BZ2Context* context = new BZ2Context();
context->error = false;
context->file = fopen( name, "r" );
int error;