All pastes #934697 Raw Edit

Vermischtes

public text v1 · immutable
·published 2008-03-09 00:37 UTC
rendered paste body
        int mails = newmails + oldmails;

        if ((led_status == 0) && (mails > 0 || newmails > 0))
        {
                // set LED on
                if(lednot == 'Y')
                        LEDEvent(true, mails, ledmajor, ledminor);
        }

        if ((newmails >0) && (telnot == 'Y')
        {
                // Phone-Event (call phone)
                TelEvent(fon, sip, num);
        }

        if ((mails == 0 && newmails == 0))