From: hermet Date: Fri, 23 Dec 2011 07:07:35 +0000 (+0000) Subject: ecore/ecore_con - removed white trailings X-Git-Tag: build/2012-07-04.173327~546 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5cb8c6f9ed9ada5ca000742e42a82e9b726ce21;p=profile%2Fivi%2Fecore.git ecore/ecore_con - removed white trailings git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@66474 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index d665d80..702d7a0 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -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); } diff --git a/src/lib/ecore_con/ecore_con_socks.c b/src/lib/ecore_con/ecore_con_socks.c index 853c794..c960618 100644 --- a/src/lib/ecore_con/ecore_con_socks.c +++ b/src/lib/ecore_con/ecore_con_socks.c @@ -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;