Changeset 23913


Ignore:
Timestamp:
09/27/13 00:33:32 (10 years ago)
Author:
obi
Message:

fix sec

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r23898 r23913  
    300300        {
    301301                free(tmpstr), tmpstr = NULL;
    302                 status.security = 1;
    303                 setskinnodeslocked(0);
    304 
    305302                return 0;
    306303        }
     
    11621159        free(ret); ret = NULL;
    11631160        free(authbuf);
     1161
     1162// ufs910 work start
     1163        if(checkbox("UFS910")
     1164        {
     1165                status.security = 1;
     1166                writeserial(input);
     1167        }
     1168// ufs910 work end
    11641169       
    11651170        //Blacklist check
     
    11921197                                        {
    11931198                                                status.security = 0;
    1194                                                 printf("error: 8\n");           
     1199                                                printf("error: 9\n");           
    11951200                                                destroy();
    11961201                                                break;
  • titan/titan/titan.c

    r23894 r23913  
    626626                {
    627627                        printf("error: 8\n");           
    628 //                      destroy();
    629 //                      exit(100);
    630                 }
    631                 else
    632                 {                               
    633                         char* cpuid = getcpuid();
    634                         checkserial(cpuid);
    635                         free(cpuid); cpuid = NULL;
    636                 }       
     628                        destroy();
     629                        exit(100);
     630                }
     631       
     632                char* cpuid = getcpuid();
     633                checkserial(cpuid);
     634                free(cpuid); cpuid = NULL;
    637635        }
    638636        else
Note: See TracChangeset for help on using the changeset viewer.