diff --git a/apps/webbrowser/webclient.c b/apps/webbrowser/webclient.c index ec7422dc8..5a7c4db5d 100644 --- a/apps/webbrowser/webclient.c +++ b/apps/webbrowser/webclient.c @@ -29,7 +29,7 @@ * * This file is part of the "contiki" web browser. * - * $Id: webclient.c,v 1.9 2010/05/31 15:22:08 nifi Exp $ + * $Id: webclient.c,v 1.10 2010/06/14 14:08:17 nifi Exp $ * */ @@ -131,7 +131,7 @@ webclient_close(void) } /*-----------------------------------------------------------------------------------*/ unsigned char -webclient_get(char *host, u16_t port, char *file) +webclient_get(const char *host, u16_t port, const char *file) { uip_ipaddr_t addr; struct uip_conn *conn; diff --git a/apps/webbrowser/webclient.h b/apps/webbrowser/webclient.h index eb9339122..a4a27f5af 100644 --- a/apps/webbrowser/webclient.h +++ b/apps/webbrowser/webclient.h @@ -29,7 +29,7 @@ * * This file is part of the "contiki" web browser. * - * $Id: webclient.h,v 1.1 2006/06/17 22:41:14 adamdunkels Exp $ + * $Id: webclient.h,v 1.2 2010/06/14 14:08:17 nifi Exp $ * */ #ifndef __WEBCLIENT_H__ @@ -52,7 +52,7 @@ void webclient_closed(void); /* Functions. */ void webclient_init(void); -unsigned char webclient_get(char *host, u16_t port, char *file); +unsigned char webclient_get(const char *host, u16_t port, const char *file); void webclient_close(void); void webclient_appcall(void *state);