bad address from debug file name fix

This commit is contained in:
vivek-shankar 2017-01-27 11:11:26 -05:00
parent 41bb67d144
commit 7bd44865ef
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ delete_p(updater->inmsg_queue);
} }
void update_routine(const char* bcfname, void update_routine(const char* bcfname,
const char* dbgfname){ const char* dbgfname){
//dbgf_name=(char*)dbgfname; dbgf_name=(char*)dbgfname;
//fprintf(stdout,"[Debug : ]updater value = %i \n",updater->mode); //fprintf(stdout,"[Debug : ]updater value = %i \n",updater->mode);
if(*(int*)updater->mode==CODE_RUNNING){ if(*(int*)updater->mode==CODE_RUNNING){
if(check_update()){ if(check_update()){