<p>I fixed file extension check, now it uses o5m parser for o5c files. </p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/molind/osm2pgsql master</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/openstreetmap/osm2pgsql/pull/25'>https://github.com/openstreetmap/osm2pgsql/pull/25</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>o5c files shoud be parsed by o5mparser, not xmlparser.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/25/files#diff-0">osm2pgsql.c</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/25.patch'>https://github.com/openstreetmap/osm2pgsql/pull/25.patch</a></li>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/25.diff'>https://github.com/openstreetmap/osm2pgsql/pull/25.diff</a></li>
</ul>