Mercurial > pt1.oyama
diff src/http.c @ 135:1d343a4eb657
modify function prototype.
remove unused variable.
author | Naoya OYAMA <naoya.oyama@gmail.com> |
---|---|
date | Sun, 24 Oct 2010 21:50:50 +0900 |
parents | 0db6ccf0fe31 |
children | 2a9ac5ce2c7e |
line wrap: on
line diff
--- a/src/http.c Mon Oct 18 03:56:39 2010 +0900 +++ b/src/http.c Sun Oct 24 21:50:50 2010 +0900 @@ -97,12 +97,9 @@ { extern struct ushare_t *ut; struct upnp_entry_t *entry = NULL; - struct stat st; int upnp_id = 0; char *content_type = NULL; char *protocol = NULL; - extern thread_data *gp_tdata; - thread_data *tdata = gp_tdata; if (!filename || !info) return -1; @@ -392,8 +389,6 @@ { struct web_file_t *file = (struct web_file_t *) fh; ssize_t len = -1; - extern thread_data *gp_tdata; - thread_data *tdata = gp_tdata; //log_verbose ("http_read file:[%s]\n", file->fullpath); @@ -537,9 +532,7 @@ extern thread_data *gp_tdata; thread_data *tdata = gp_tdata; STREAM_QUEUE_T *p_queue; - int i; int id = 0; - int j; if (!file) return -1;