Hi, Stipe. It doesn't help, because
ret = wsp_secondary_field_value(context, &val) return error on context, not WSP_FIELD_VALUE_NONE!
I've wrote quick hack to make this phone to work:
int wsp_secondary_field_value(ParseContext *context, long *result)
{
int val;
long length;+ if (parse_octets_left(context) == 0) {
+ *result = 0;
+ return WSP_FIELD_VALUE_NONE;
+ }/* this parse_get_char() return -1 because earlier in wsp_field_value() we set parse_limit(context, 0) and any parse operation will return -1 because parse_octets_left = 0 */
val = parse_get_char(context);
if (val == 0) {
*result = 0;
return WSP_FIELD_VALUE_NONE;
} else if (val > 0 && val < 31) {Stipe Tolj wrote:
Ok,
ow about trying this patch and access with the device again to see what happens.
Stipe
mailto:[EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG
M�nsterstr. 248 40470 D�sseldorf, NRW, Germany
-- Vjacheslav Chekushin mailto:[EMAIL PROTECTED] Latvian Mobile Phone Company http://www.lmt.lv
