map debug
This commit is contained in:
7
map.c
7
map.c
@@ -173,8 +173,11 @@ int func_map(int argc, char *argv[], int mode)
|
||||
if (!ipx_init()) argc = 1;
|
||||
if (!parse_argv(drvstr, &nwpath, argc, argv, 0, mode)) {
|
||||
if (*(nwpath.path) || mode==1) {
|
||||
if (do_map(*drvstr - 'A', &nwpath, mode)< 0)
|
||||
fprintf(stderr, "MAP Error\n");
|
||||
{
|
||||
int rc = do_map(*drvstr - 'A', &nwpath, mode);
|
||||
if (rc < 0)
|
||||
fprintf(stderr, "MAP Error rc=%d\n", rc);
|
||||
}
|
||||
}
|
||||
if (mode != 1)
|
||||
show_map(drvstr);
|
||||
|
||||
Reference in New Issue
Block a user