Added fixes for Alarms and Events. Thank you Sebastien!

This commit is contained in:
skarg
2009-11-29 18:47:05 +00:00
parent 35ec69c307
commit 52294d1dce
6 changed files with 24 additions and 14 deletions
+10 -6
View File
@@ -557,10 +557,12 @@ int event_notify_decode_service_request(
len += section_length;
}
break;
case NOTIFY_ACK_NOTIFICATION:
/* FIXME: handle this case */
/* In cases other than alarm and event
there's no data, so do not return an error
but continue normally */
case NOTIFY_ACK_NOTIFICATION:
default:
return -1;
break;
}
/* tag 11 - toState */
@@ -854,10 +856,12 @@ int event_notify_decode_service_request(
return -1;
}
break;
case NOTIFY_ACK_NOTIFICATION:
/* FIXME: handle this case */
/* In cases other than alarm and event
there's no data, so do not return an error
but continue normally */
case NOTIFY_ACK_NOTIFICATION:
default:
return -1;
break;
}
}