Changeset 1674 for trunk/oscam-config.c
- Timestamp:
- 02/24/10 12:08:55 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-config.c
r1672 r1674 850 850 if (!strcmp(token, "expdate")) 851 851 { 852 if (!value[0]) { 853 account->expirationdate=(time_t)NULL; 854 return; 855 } 852 856 struct tm cstime; 853 857 memset(&cstime,0,sizeof(cstime)); … … 860 864 case 2: cstime.tm_mday=atoi(ptr1); break; 861 865 } 862 } 866 } 863 867 account->expirationdate=mktime(&cstime); 864 868 return;
Note:
See TracChangeset
for help on using the changeset viewer.