osm.bz2 parsing fixed
This commit is contained in:
parent
6b6ed949b4
commit
73dc97b95d
@ -77,7 +77,7 @@ xmlTextReaderPtr inputReaderFactory( const char* name )
|
|||||||
|
|
||||||
if(inputName.find(".osm.bz2")!=string::npos)
|
if(inputName.find(".osm.bz2")!=string::npos)
|
||||||
{
|
{
|
||||||
BZ2Context* context = new BZ2Context;
|
BZ2Context* context = new BZ2Context();
|
||||||
context->error = false;
|
context->error = false;
|
||||||
context->file = fopen( name, "r" );
|
context->file = fopen( name, "r" );
|
||||||
int error;
|
int error;
|
||||||
|
Loading…
Reference in New Issue
Block a user