Added workaround for function pointer arguments in uIP callbacks
diff --git a/contiki/apps/telnet.c b/contiki/apps/telnet.c
index f28bda9..68d1e54 100644
--- a/contiki/apps/telnet.c
+++ b/contiki/apps/telnet.c
@@ -31,7 +31,7 @@
  *
  * This file is part of the uIP TCP/IP stack.
  *
- * $Id: telnet.c,v 1.1 2003/03/19 14:13:33 adamdunkels Exp $
+ * $Id: telnet.c,v 1.2 2003/04/10 09:04:50 adamdunkels Exp $
  *
  */
 
@@ -106,9 +106,11 @@
   uip_send(s->text, s->sentlen);
 }
 /*-----------------------------------------------------------------------------------*/
-void
-telnet_app(struct telnet_state *s)
+DISPATCHER_UIPCALL(telnet_app, ts)
 {
+  DISPATCHER_UIPCALL_ARG(ts);
+  struct telnet_state *s = (struct telnet_state *)ts;
+    
   if(uip_connected()) {
     s->flags = 0;
     telnet_connected(s);