From 813b025f97a99623d824ed83530f43c9fe0427d0 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 7 Dec 2009 10:33:43 +0000 Subject: [PATCH] ppp_desc needs to be initialized with -1, not 0 --- ports/win32/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/win32/test.c b/ports/win32/test.c index 225e2b0..abc1939 100644 --- a/ports/win32/test.c +++ b/ports/win32/test.c @@ -113,7 +113,7 @@ struct netif loop_netif; #endif /* LWIP_HAVE_LOOPIF */ #if PPP_SUPPORT /* THE PPP descriptor */ -int ppp_desc; +int ppp_desc = -1; #endif /* PPP_SUPPORT */