Removed unused variable (and some whitespaces).

This commit is contained in:
oliverschmidt 2008-11-10 21:57:26 +00:00
parent de601c9523
commit 7aa23e002a

View file

@ -29,7 +29,7 @@
* *
* This file is part of the "contiki" web browser. * This file is part of the "contiki" web browser.
* *
* $Id: webclient.c,v 1.6 2008/11/09 12:39:31 adamdunkels Exp $ * $Id: webclient.c,v 1.7 2008/11/10 21:57:26 oliverschmidt Exp $
* *
*/ */
@ -203,15 +203,12 @@ window_copy(int curptr, const char *data, unsigned char datalen)
windowstart += len; windowstart += len;
return curptr + datalen; return curptr + datalen;
} }
/*-----------------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------------*/
static void static void
senddata(void) senddata(void)
{ {
u16_t len; u16_t len;
/* char *getrequest;*/
char *cptr;
int curptr; int curptr;
if(s.getrequestleft > 0) { if(s.getrequestleft > 0) {
@ -235,7 +232,6 @@ senddata(void)
curptr = window_copy(curptr, http_user_agent_fields, curptr = window_copy(curptr, http_user_agent_fields,
(unsigned char)strlen(http_user_agent_fields)); (unsigned char)strlen(http_user_agent_fields));
len = s.getrequestleft > uip_mss()? len = s.getrequestleft > uip_mss()?
uip_mss(): uip_mss():
s.getrequestleft; s.getrequestleft;