Hi Aarno,

I found some problem in following function in file wap-appl.c during the
testing 
of wap-push. Please make note of it.

static void check_application_headers(List **headers, List
**application_headers)
{
       char *appid_value, *coded_value;

       coded_value = NULL;
       appid_value = NULL;

        /* Greatest value reserved by WINA is 0xFF00 0000*/
        coded_value = octstr_get_cstr(coded_octstr);    
        //returns pointer with value 0x31 in case of Accept-Application:
push.sia

        if (coded_value != NULL)
            appid_value = wsp_application_id_to_cstr((long)
coded_value);
        // returns null as passed coded value as pointer except needs to
pass integer value
        // it should be as below.
        // appid_value = wsp_application_id_to_cstr( *coded_value - 0x30
);
}

Rgds
sunil

Reply via email to