Changeset 10909 for trunk/module-newcamd.c
- Timestamp:
- 07/26/15 20:25:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-newcamd.c
r10902 r10909 641 641 cl->account->usr, cl->ftab.nfilts, filt->caid); 642 642 643 if(!filt->caid && cl->ftab. filts)643 if(!filt->caid && cl->ftab.nfilts) 644 644 { 645 645 int32_t fcaids; … … 925 925 mk_user_ftab(&usr_filter); 926 926 927 if(!cfg.ncd_mgclient) 928 ftab_add(&cl->ftab, &usr_filter); //We cannot filter all cards! 927 ftab_clear(&cl->ftab); 928 ftab_add(&cl->ftab, &usr_filter); 929 930 if(cfg.ncd_mgclient) 931 { 932 ftab_clear(&cl->ftab); //We cannot filter all cards! 933 memset(&usr_filter, 0, sizeof(FILTER)); 934 } 929 935 930 936 mbuf[0] = MSG_CARD_DATA; … … 1072 1078 cl_msgid = er->msgid; 1073 1079 mbuf[0] = er->ecm[0]; 1074 if( (client->ftab.filts && client->ftab.filts[0].nprids == 0) || (er->rc >= E_NOTFOUND /*not found*/))1080 if(!client->ftab.filts || client->ftab.filts[0].nprids == 0 || er->rc >= E_NOTFOUND /*not found*/) 1075 1081 { 1076 1082 len = 3;
Note:
See TracChangeset
for help on using the changeset viewer.