* Fix a crash bug introduced in the last commit. (Thanks sdhank)

This commit is contained in:
Justin Maggard 2011-06-26 20:04:05 +00:00
parent 108fda1e84
commit 14cc1d6b07

View File

@ -289,6 +289,7 @@ SendItemDetails(struct upnphttp * h, sqlite_int64 item)
str.data = resp;
ret = strcatf(&str, "<?xml version='1.0' encoding='UTF-8' ?>\n<TiVoItem>");
args.str = &str;
args.requested = 1;
asprintf(&sql, SELECT_COLUMNS
"from OBJECTS o left join DETAILS d on (d.ID = o.DETAIL_ID)"