reduce linger to... 0 for server

SVN revision: 22221
This commit is contained in:
Carsten Haitzler 2006-04-19 07:27:52 +00:00
parent f8bf7acac0
commit 99f3565777
2 changed files with 2 additions and 3 deletions

View File

@ -221,8 +221,8 @@ ecore_con_server_add(Ecore_Con_Type compl_type,
umask(pmode);
goto error;
}
lin.l_onoff = 1;
lin.l_linger = 100;
lin.l_onoff = 0;
lin.l_linger = 0;
if (setsockopt(svr->fd, SOL_SOCKET, SO_LINGER, &lin, sizeof(struct linger)) < 0)
{
umask(pmode);

View File

@ -327,7 +327,6 @@ _ecore_evas_x_match(Ecore_X_Window win)
static void
_ecore_evas_x_resize_shape(Ecore_Evas *ee)
{
/* BLAH */
if (!strcmp(ee->driver, "software_x11"))
{
#ifdef BUILD_ECORE_X