summaryrefslogtreecommitdiff
path: root/src/export
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2019-01-22 22:50:47 +0100
committerDirk Engling <erdgeist@erdgeist.org>2019-01-22 22:50:47 +0100
commit63fb5bcf746eada578e560ecbad8656f96ac171e (patch)
tree61dbefa7ce2777d0d90840a8c567c202ffed04a1 /src/export
parentced53e31310dc57249f6deffa2d24f92b0de8418 (diff)
formatting
Diffstat (limited to 'src/export')
-rw-r--r--src/export/map_coords.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/export/map_coords.c b/src/export/map_coords.c
index ed5376a..4e03e6d 100644
--- a/src/export/map_coords.c
+++ b/src/export/map_coords.c
@@ -25,7 +25,7 @@ int main( int argc, char ** args )
25 25
26 if( argc != 2 ) { fprintf( stderr, "Syntax: printf %%s\\t%%s\\t%%s <zipcode> <streetname> <housenumber> | %s <coords_file>\n", args[0] ); exit(111); } 26 if( argc != 2 ) { fprintf( stderr, "Syntax: printf %%s\\t%%s\\t%%s <zipcode> <streetname> <housenumber> | %s <coords_file>\n", args[0] ); exit(111); }
27 coords = map_file( args[1], 1 ); 27 coords = map_file( args[1], 1 );
28 if( !coords || !input ) { fprintf( stderr, "Error allocating resources\n" );exit( 111 ); } 28 if( !coords || !input ) { fprintf( stderr, "Error allocating resources\n" ); exit( 111 ); }
29 p = (char *)coords->addr; 29 p = (char *)coords->addr;
30 for ( i=0, lines=0; i<coords->size; ++i ) 30 for ( i=0, lines=0; i<coords->size; ++i )
31 if( p[i] == 0x00 ) 31 if( p[i] == 0x00 )