Change-Id: I47ab2d2e51ab001ebd60cae917f35fc8fd821b15
%define major 0
%define minor 3
-%define patchlevel 6
+%define patchlevel 7
Name: libtcore
Version: %{major}.%{minor}.%{patchlevel}
break;
default:
- err("invalid dcs type");
break;
}
}
temp_index += len_of_len; /* temp_index pointing to url. */
dbg("URL length (%d)", url_len);
+#if 0 /*unreachable code from svace 2.2 */
if (url_len < 0) {
dbg("[SAT] URL is null");
*consumed_data_len = 1 + len_of_len + url_len;
return TCORE_SAT_SUCCESS;
}
+#endif
if (url_len > SAT_URL_LEN_MAX) {
dbg("[SAT] URL length is wrong");
struct hook_notification_type *hook;
GSList *list;
- if (!s)
+ if ((s == NULL) || (s->hook_list_notification == NULL))
return TCORE_RETURN_EINVAL;
for (list = s->hook_list_notification; list; list = list->next) {