net/oic; make requests_entry() function pointer optional during init.
@@ -81,7 +81,9 @@ oc_main_init(oc_handler_t *handler)
OC_LOG_INFO("oic: Initialized\n");
#ifdef OC_CLIENT
+ if (handler->requests_entry) {
handler->requests_entry();
+ }
#endif
initialized = true;
