Mercurial > pt1.oyama
diff src/metadata.c @ 126:5dcaf3785ebe
fix process terminate problem.
add dynamic Content-Length header.
author | Naoya OYAMA <naoya.oyama@gmail.com> |
---|---|
date | Sun, 03 Oct 2010 21:55:37 +0900 |
parents | e413158cae13 |
children | 2a9ac5ce2c7e |
line wrap: on
line diff
--- a/src/metadata.c Sun Oct 03 11:35:19 2010 +0900 +++ b/src/metadata.c Sun Oct 03 21:55:37 2010 +0900 @@ -565,6 +565,7 @@ struct upnp_entry_t *entry = ut->root_entry; st.st_size = 100*1024*1024; metadata_add_file (ut, ut->root_entry, STREAM_LOCATION, STREAM_FILE_NAME, &st); + ut->contentlist = NULL; //metadata_add_container (ut, ut->root_entry, "/web/"); #if 0