diff options
author | Justin Maggard <jmaggard@users.sourceforce.net> | 2011-06-27 00:04:05 +0400 |
---|---|---|
committer | Justin Maggard <jmaggard@users.sourceforce.net> | 2011-06-27 00:04:05 +0400 |
commit | ee42e907fd0aa826a430f3c7f495bb135e92470b (patch) | |
tree | 1a2a0f07d993cbda0de35494ddfd89c14a0ec13b | |
parent | c228fba8e114bc89c6be525f80e40c77cd1c5713 (diff) |
* Fix a crash bug introduced in the last commit. (Thanks sdhank)
-rw-r--r-- | tivo_commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tivo_commands.c b/tivo_commands.c index 3b9d5ca..aebce3d 100644 --- a/tivo_commands.c +++ b/tivo_commands.c @@ -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)" |