Skip to content

Commit

Permalink
make source & writingprogram optional
Browse files Browse the repository at this point in the history
  • Loading branch information
MaZderMind committed May 23, 2011
1 parent f1c905e commit 0fbe0f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/osmpbf-outline.cpp
Expand Up @@ -259,10 +259,12 @@ int main(int argc, char *argv[]) {
debug(" required_feature: %s", osmheader.optional_features(i).c_str());

// tell about the writing program
debug(" writingprogram: %s", osmheader.writingprogram().c_str());
if(osmheader.has_writingprogram());
debug(" writingprogram: %s", osmheader.writingprogram().c_str());

// tell about the source
debug(" source: %s", osmheader.source().c_str());
if(osmheader.has_source())
debug(" source: %s", osmheader.source().c_str());
}

else if(blobheader.type() == "OSMData") {
Expand Down

0 comments on commit 0fbe0f8

Please sign in to comment.