* Fix a crash bug introduced in the last commit. (Thanks sdhank)
This commit is contained in:
parent
108fda1e84
commit
14cc1d6b07
@ -289,6 +289,7 @@ SendItemDetails(struct upnphttp * h, sqlite_int64 item)
|
|||||||
|
|
||||||
str.data = resp;
|
str.data = resp;
|
||||||
ret = strcatf(&str, "<?xml version='1.0' encoding='UTF-8' ?>\n<TiVoItem>");
|
ret = strcatf(&str, "<?xml version='1.0' encoding='UTF-8' ?>\n<TiVoItem>");
|
||||||
|
args.str = &str;
|
||||||
args.requested = 1;
|
args.requested = 1;
|
||||||
asprintf(&sql, SELECT_COLUMNS
|
asprintf(&sql, SELECT_COLUMNS
|
||||||
"from OBJECTS o left join DETAILS d on (d.ID = o.DETAIL_ID)"
|
"from OBJECTS o left join DETAILS d on (d.ID = o.DETAIL_ID)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user