Ignore:
Timestamp:
01/11/10 19:30:52 (12 years ago)
Author:
alno
Message:

WebIf:

  • Merging revisions 1180-1185 of trunk
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/monitor-improvement/oscam-http.c

    r1176 r1189  
    697697      for (i=1; i<CS_MAXCAIDTAB; account->ctab.mask[i++]=0xffff);
    698698      for (i=1; i<CS_MAXTUNTAB; account->ttab.bt_srvid[i++]=0x0000);
     699      account->expirationdate=(time_t)NULL;
    699700#ifdef CS_ANTICASC
    700701      account->ac_users=cfg->ac_users;
     
    716717    for(i=0;i<(*params).paramcount;i++){
    717718        if ((strcmp((*params).params[i], "action")) && (strcmp((*params).params[i], "user")) && (strcmp((*params).params[i], "newuser"))){
     719            if (!strcmp((*params).params[i], "expdate"))
     720                account->expirationdate=(time_t)NULL;
    718721            if (!strcmp((*params).params[i], "services"))
    719722                sprintf(servicelabels + strlen(servicelabels), "%s,", (*params).values[i]);
Note: See TracChangeset for help on using the changeset viewer.