
Wrong assignment by shutdown result hides the real error code of NewRequestHandler() in ssdp_device.c. Fix return code description of NewRequestHandler(). Handle return code from ithread_create in sample applications. Remove unused assignments. (forward ported from commit 39dfad2cba5f577a24659deb8afc81d9016b2080)