Changeset 15630


Ignore:
Timestamp:
05/09/12 23:03:02 (11 years ago)
Author:
obi
Message:

fix

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r15627 r15630  
    2121int checkreseller()
    2222{
    23 //      if(checkbox("ATEMIO510") == 0)
    24 //      {
    25 //              printf("ResellerId: skipped\n");
    26 //              printf("boxtype: %s\n", status.boxtype);       
    27 //              return 0;
    28 //      }
     23        if(checkbox("ATEMIO510") == 0)
     24        {
     25                printf("ResellerId: skipped\n");
     26                printf("boxtype: %s\n", status.boxtype);       
     27                return 0;
     28        }
    2929       
    3030        FILE* fd = NULL;
     
    127127                printf("ResellerId: not supported\n");
    128128                printf("boxtype: %s\n", status.boxtype);
    129                 return 0;
     129                return 1;
    130130        }
    131131
  • titan/titan/titan.c

    r15629 r15630  
    451451                {
    452452                        printf("error: 3\n");           
    453                         //destroy();
     453                        destroy();
    454454                        exit(100);
    455455                }
Note: See TracChangeset for help on using the changeset viewer.