[xiph-commits] r3815 - liboggz/trunk/src/tools/oggz-chop
conrad at svn.annodex.net
conrad at svn.annodex.net
Fri Dec 5 19:05:16 PST 2008
Author: conrad
Date: 2008-12-05 19:05:15 -0800 (Fri, 05 Dec 2008)
New Revision: 3815
Modified:
liboggz/trunk/src/tools/oggz-chop/cgi.c
Log:
oggz-chop CGI: remove dead code
Modified: liboggz/trunk/src/tools/oggz-chop/cgi.c
===================================================================
--- liboggz/trunk/src/tools/oggz-chop/cgi.c 2008-12-06 03:05:03 UTC (rev 3814)
+++ liboggz/trunk/src/tools/oggz-chop/cgi.c 2008-12-06 03:05:15 UTC (rev 3815)
@@ -94,38 +94,6 @@
return 1;
}
-#if 0
-static int
-cgi_send_photo (photo_t * photo)
-{
- /*header_content_length (photo->size);*/
- header_end();
-
- photo_put (photo);
-
- return 0;
-}
-
-static int
-cgi_send (OCState * state)
-{
- header_last_modified (state->in.mtime);
-
- if (params->nochange) {
- cgi_send_photo (¶ms->in);
- } else if (params->out.name) {
- cgi_send_photo (¶ms->out);
- } else {
- header_content_length ((off_t)params->data_size);
- header_end();
-
- memory_send (params);
- }
-
- return 0;
-}
-#endif
-
static char *
prepend_document_root (char * path_info)
{
@@ -223,29 +191,12 @@
header_accept_timeuri_ogg ();
- /*config_init (params);*/
-
parse_query (state, query_string);
-#if 0
- if (params->x || params->y || params->scale || params->gray ||
- params->quality) {
- cache_init (params, path_info);
- } else {
- params->nochange = 1;
- }
-#endif
-
header_end();
err = 0;
-#if 0
- if (!(params->nochange || params->cached)) {
- err = chop (state);
- }
-#else
err = chop (state);
-#endif
if (built_path_translated && path_translated != NULL)
free (path_translated);
More information about the commits
mailing list