diff options
author | Lukas Mai <l.mai@web.de> | 2016-02-24 18:59:00 +0100 |
---|---|---|
committer | Lukas Mai <l.mai@web.de> | 2016-03-02 00:51:01 +0100 |
commit | 3fc7e4d4ea7faaf3a14206c8b7c46ccc4b96309c (patch) | |
tree | abdb11f6983eac86242691b207e1e6666fb6c146 /src/irc/proxy | |
parent | 9174ec584fdcbed8b9fc89fc10cf4df776e5214e (diff) | |
download | irssi-3fc7e4d4ea7faaf3a14206c8b7c46ccc4b96309c.zip |
reindent
Diffstat (limited to 'src/irc/proxy')
-rw-r--r-- | src/irc/proxy/listen.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index ef288201..43cef27f 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -202,7 +202,7 @@ static void handle_client_cmd(CLIENT_REC *client, char *cmd, char *args, if (g_strcmp0(cmd, "PROXY") == 0) { if (g_ascii_strcasecmp(args, "CTCP ON") == 0) { - /* client wants all ctcps */ + /* client wants all ctcps */ client->want_ctcp = 1; for (tmp = proxy_clients; tmp != NULL; tmp = tmp->next) { CLIENT_REC *rec = tmp->data; @@ -494,12 +494,12 @@ static void sig_server_event(IRC_SERVER_REC *server, const char *line, static void event_connected(IRC_SERVER_REC *server) { GSList *tmp; - const char *chatnet; + const char *chatnet; if (!IS_IRC_SERVER(server)) return; - chatnet = server->connrec->chatnet; + chatnet = server->connrec->chatnet; for (tmp = proxy_clients; tmp != NULL; tmp = tmp->next) { CLIENT_REC *rec = tmp->data; @@ -508,7 +508,7 @@ static void event_connected(IRC_SERVER_REC *server) (chatnet != NULL && g_ascii_strcasecmp(chatnet, rec->listen->ircnet) == 0))) { proxy_outdata(rec, ":%s NOTICE %s :Connected to server\r\n", - rec->proxy_address, rec->nick); + rec->proxy_address, rec->nick); rec->server = server; proxy_client_reset_nick(rec); } @@ -516,7 +516,7 @@ static void event_connected(IRC_SERVER_REC *server) } static void proxy_server_disconnected(CLIENT_REC *client, - IRC_SERVER_REC *server) + IRC_SERVER_REC *server) { GSList *tmp; @@ -655,9 +655,9 @@ static void add_listen(const char *ircnet, int port) } rec->tag = g_input_add(rec->handle, G_INPUT_READ, - (GInputFunction) sig_listen, rec); + (GInputFunction) sig_listen, rec); - proxy_listens = g_slist_append(proxy_listens, rec); + proxy_listens = g_slist_append(proxy_listens, rec); } static void remove_listen(LISTEN_REC *rec) |