examples: test-uri: improve uri argument handling and accept file names
authorTim-Philipp Müller <tim@centricular.com>
Fri, 6 Feb 2015 19:34:17 +0000 (19:34 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 6 Feb 2015 19:34:17 +0000 (19:34 +0000)
commit6dbffce31973253307dcb92a753734f22773ab90
tree138c4df781347e5825532c6bacdf0a8e85374142
parenta862d632b72effc85f0be6a068f1e4bfb8765418
examples: test-uri: improve uri argument handling and accept file names

Print an error if the argument passed is not a URI and can't
be converted into one, or no arguments have been provided.
examples/test-uri.c