Re: Bug in wap_push_ppg.c ?
Aarno Syvänen <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Paul is right, of course. Aarno ----- Original Message ----- From: "Stipe Tolj" <[email protected]> Cc: "Kannel Development List (E-mail)" <[email protected]>; "Aarno Syvänen" <[email protected]> Sent: Thursday, April 25, 2002 4:24 PM Subject: Re: Bug in wap_push_ppg.c ? > Paul Keogh wrote: > > > > I think the function; > > > > /* > > * Check that we have rigth application id for confirmed push (it is, > > "push.sia") > > */ > > static int coriented_deliverable(long appid_code) > > { > > return appid_code == 2; > > } > > > > should be > > > > static int coriented_deliverable(long appid_code) > > { > > return appid_code == 1; > > } > > > > This would then match the wap/wsp_strings definitions of; > > > > NUMBERED(application_id, > > ASSIGN("*", 0x00) > > ASSIGN("push.sia", 0x01) > > ASSIGN("wml.ua", 0x02) > > ASSIGN("wta.ua", 0x03) > > ASSIGN("mms.ua", 0x04) > > ASSIGN("push.syncml", 0x05) > > ASSIGN("loc.ua", 0x06) > > ) > > > > Right ? > > any comments from you Aarno? > > Stipe > > [email protected] > ------------------------------------------------------------------- > Wapme Systems AG > > Münsterstr. 248 > 40470 Düsseldorf > > Tel: +49-211-74845-0 > Fax: +49-211-74845-299 > > E-Mail: [email protected] > Internet: http://www.wapme-systems.de > ------------------------------------------------------------------- > wapme.net - wherever you are > >