summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2005-01-05 21:48:05 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2005-01-05 21:48:05 +0000
commit6d46dbb4844b919c1c288047e41d7032f4b401e1 (patch)
treebbd608637c9ddde46df7ef254d13cace7794e2d0
parent263cfd528c0e7a770c0365600c44ede6ffce3832 (diff)
downloadxine-lib-6d46dbb4844b919c1c288047e41d7032f4b401e1.tar.gz
xine-lib-6d46dbb4844b919c1c288047e41d7032f4b401e1.tar.bz2
Warning fixes (Maarten Vanraes).
CVS patchset: 7326 CVS date: 2005/01/05 21:48:05
-rw-r--r--src/input/input_http.c3
-rw-r--r--src/input/input_net.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c
index 1c3686219..daecf896f 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -19,7 +19,7 @@
*
* input plugin for http network streams
*
- * $Id: input_http.c,v 1.103 2005/01/05 00:37:29 dsalt Exp $
+ * $Id: input_http.c,v 1.104 2005/01/05 21:48:05 dsalt Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -33,6 +33,7 @@
#include <string.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#include <ctype.h>
#ifndef WIN32
#include <netdb.h>
diff --git a/src/input/input_net.c b/src/input/input_net.c
index df0c6c499..947a71177 100644
--- a/src/input/input_net.c
+++ b/src/input/input_net.c
@@ -20,7 +20,7 @@
* Read from a tcp network stream over a lan (put a tweaked mp1e encoder the
* other end and you can watch tv anywhere in the house ..)
*
- * $Id: input_net.c,v 1.60 2004/09/17 19:21:46 valtri Exp $
+ * $Id: input_net.c,v 1.61 2005/01/05 21:48:05 dsalt Exp $
*
* how to set up mp1e for use with this plugin:
*
@@ -206,7 +206,6 @@ static int host_connect(const char *host, int port, xine_t *xine) {
struct addrinfo hints, *res, *tmpaddr;
int error;
char strport[16];
- int i;
int s;
memset(&hints, 0, sizeof(hints));