ecore/ecore_con - removed white trailings

SVN revision: 66474
This commit is contained in:
ChunEon Park 2011-12-23 07:07:35 +00:00
parent a76caa3021
commit e2b1ac1f61
2 changed files with 4 additions and 6 deletions

View File

@ -464,7 +464,6 @@ ecore_con_server_connect(Ecore_Con_Type compl_type,
if (svr->ecs->lookup)
svr->ecs_state = ECORE_CON_SOCKS_STATE_RESOLVED;
}
}
if (ecore_con_ssl_server_prepare(svr, compl_type & ECORE_CON_SSL))
goto error;
@ -2263,7 +2262,6 @@ _ecore_con_server_flush(Ecore_Con_Server *svr)
}
#endif
}
if (svr->fd_handler)
ecore_main_fd_handler_active_set(svr->fd_handler, ECORE_FD_READ);
}

View File

@ -59,7 +59,7 @@ _ecore_con_socks_find(unsigned char version, const char *ip, int port, const cha
{
Eina_List *l;
Ecore_Con_Socks *ecs;
if (!ecore_con_socks_proxies) return NULL;
EINA_LIST_FOREACH(ecore_con_socks_proxies, l, ecs)
@ -207,7 +207,7 @@ ecore_con_socks_svr_init(Ecore_Con_Server *svr)
else
sbuf[8] = 0;
if (addrlen) memcpy(sbuf + 8 + ulen, svr->name, addrlen);
svr->ecs_buf = eina_binbuf_manage_new_length(sbuf, buflen);
}
return EINA_TRUE;
@ -247,13 +247,13 @@ ecore_con_socks_init(void)
/* username */
if (h && (h - buf > 0)) *h++ = 0, u = buf;
else h = buf;
/* host ip; I ain't resolvin shit here */
p = strchr(h, ':');
if (!p) return;
*p++ = 0;
if (!inet_pton(AF_INET, h, addr)) return;
errno = 0;
port = strtol(p, &l, 10);
if (errno || (port < 0) || (port > 65535)) return;