init curstate before using it

SVN revision: 8563
This commit is contained in:
tsauerbeck 2004-01-18 19:13:16 +00:00 committed by tsauerbeck
parent c91bfe7455
commit 500ef41c6d
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ ecore_con_server_connect(Ecore_Con_Type type,
Ecore_Con_Server *svr;
struct sockaddr_un socket_unix;
struct sockaddr_in socket_addr;
int curstate;
int curstate = 0;
char buf[4096];
if (!name) return NULL;