xpp: this is the right place for astribank_close()
git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@9973 17933a7a-c749-41c5-a318-cba88f637d49
This commit is contained in:
parent
24015f717e
commit
49a5fbfcd2
@ -145,7 +145,6 @@ static int load_hexfile(struct astribank_device *astribank, const char *hexfile,
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
char *devpath = NULL;
|
||||
struct astribank_device *astribank;
|
||||
int opt_pic = 0;
|
||||
int opt_dest = 0;
|
||||
enum dev_dest dest = DEST_NONE;
|
||||
@ -244,7 +243,7 @@ int main(int argc, char *argv[])
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
astribank_close(astribank, 0);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user