Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforce.net>2011-04-29 01:04:24 +0400
committerJustin Maggard <jmaggard@users.sourceforce.net>2011-04-29 01:04:24 +0400
commitb7ef97b59397f50fc24168e651d5e7a459e94734 (patch)
tree9939eca1802cf797208263f7a69bc6a5267ca5f3 /upnphttp.c
parent6117d6d313131a4056b0bf49842e636f08f3f6a0 (diff)
* Improve TiVo error handling.
Diffstat (limited to 'upnphttp.c')
-rw-r--r--upnphttp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/upnphttp.c b/upnphttp.c
index 029041c..21a42d8 100644
--- a/upnphttp.c
+++ b/upnphttp.c
@@ -542,7 +542,7 @@ Send416(struct upnphttp * h)
}
/* very minimalistic 500 error message */
-static void
+void
Send500(struct upnphttp * h)
{
static const char body500[] =
@@ -853,13 +853,14 @@ ProcessHttpQuery_upnphttp(struct upnphttp * h)
}
else
{
- printf("Invalid TiVo request! %s\n", HttpUrl+12);
+ DPRINTF(E_WARN, L_HTTP, "Invalid TiVo request! %s\n", HttpUrl+12);
Send404(h);
}
}
else
{
- printf("TiVo request with out TiVo support enabled! %s\n", HttpUrl+12);
+ DPRINTF(E_WARN, L_HTTP, "TiVo request with out TiVo support enabled! %s\n",
+ HttpUrl+12);
Send404(h);
}
}