From 431d354700d0efd5328cd740218ec70f50a097cc Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Tue, 20 Jul 2010 17:06:07 +0000 Subject: [PATCH] * Fix cosmetic spelling error. --- upnphttp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upnphttp.c b/upnphttp.c index 1b26dbe..ea568b8 100644 --- a/upnphttp.c +++ b/upnphttp.c @@ -855,7 +855,7 @@ Process_upnphttp(struct upnphttp * h) } else if(n==0) { - DPRINTF(E_WARN, L_HTTP, "HTTP Connection closed inexpectedly\n"); + DPRINTF(E_WARN, L_HTTP, "HTTP Connection closed unexpectedly\n"); h->state = 100; } else @@ -882,12 +882,12 @@ Process_upnphttp(struct upnphttp * h) n = recv(h->socket, buf, 2048, 0); if(n<0) { - DPRINTF(E_ERROR, L_HTTP, "recv (state1): %s\n", strerror(errno)); + DPRINTF(E_ERROR, L_HTTP, "recv (state%d): %s\n", h->state, strerror(errno)); h->state = 100; } else if(n==0) { - DPRINTF(E_WARN, L_HTTP, "HTTP Connection closed inexpectedly\n"); + DPRINTF(E_WARN, L_HTTP, "HTTP Connection closed unexpectedly\n"); h->state = 100; } else