summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 )