Prevent crash in trimspaces() (closes #62)
Prevent crash in trimspaces() (closes #62)

carhero/upnpx,shabbirh/upnpx,carhero/upnpx_ios,carhero/upnpx_ios,shabbirh/upnpx,carhero/upnpx,plashchynski/upnpx,shabbirh/upnpx,carhero/upnpx,carhero/upnpx_ios,plashchynski/upnpx,plashchynski/upnpx