Ignore:
Timestamp:
05/30/15 15:51:58 (8 years ago)
Author:
gost
Message:

[plugins] fix multiimage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/multiimage/MultiImage.c

    r34393 r34394  
    359359        char* path3 = NULL;
    360360        char* cmd = NULL;
    361         char* tmp = NULL;
     361        char* temp = NULL;
    362362        char* iname = NULL;
    363363
     
    409409        if(rc == 1)
    410410        {
    411                 tmp = createpluginpath("/multiimage/ubireader/ubi_reader-master/scripts/ubireader_extract_files", 0);
     411                temp = createpluginpath("/multiimage/ubireader/ubi_reader-master/scripts/ubireader_extract_files", 0);
    412412                cmd = createpluginpath("/multiimage/multi_unpack.sh", 0);
    413413                cmd = ostrcat(cmd, " ", 1, 0);
     
    418418                cmd = ostrcat(cmd, path, 1, 0);
    419419                cmd = ostrcat(cmd, " ", 1, 0);
    420                 cmd = ostrcat(cmd, tmp, 1, 0);
     420                cmd = ostrcat(cmd, temp, 1, 0);
    421421                cmd = ostrcat(cmd, " &", 1, 0);
    422422                system(cmd);
    423423                free(cmd); cmd=NULL;
    424                 free(tmp); cmd=NULL;
     424                free(temp); temp=NULL;
    425425                textbox(_("Message"), _("INFO\nExtracting process is running in background.\nA message will be shown when finished."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 250, 10, 0);
    426426               
Note: See TracChangeset for help on using the changeset viewer.