diff options
author | Michael Vetter <g.bluehut@gmail.com> | 2014-09-11 19:10:33 +0200 |
---|---|---|
committer | Michael Vetter <g.bluehut@gmail.com> | 2014-09-11 19:10:33 +0200 |
commit | 51239925ec2931a065aeaee664793a0edbcd2c4a (patch) | |
tree | 92792766b7500f01a67d1d144c4028e699574e88 /src/irc/dcc/dcc-chat.c | |
parent | 503cbeb330331e9ab6cf31af453f6232b10b12e2 (diff) | |
download | irssi-51239925ec2931a065aeaee664793a0edbcd2c4a.zip |
source cleanup: remove trailing whitespaces
Diffstat (limited to 'src/irc/dcc/dcc-chat.c')
-rw-r--r-- | src/irc/dcc/dcc-chat.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index ad1442fc..8ee4decd 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -428,7 +428,7 @@ static void dcc_chat_passive(CHAT_DCC_REC *dcc) dcc_ip2str(&own_ip, host); irc_send_cmdv(dcc->server, "PRIVMSG %s :\001DCC CHAT CHAT %s %d %d\001", dcc->nick, host, port, dcc->pasv_id); - + } /* SYNTAX: DCC CHAT [-passive] [<nick>] */ @@ -615,7 +615,7 @@ static void ctcp_msg_dcc_chat(IRC_SERVER_REC *server, const char *data, char **params; int paramcount; int passive, autoallow = FALSE; - + /* CHAT <unused> <address> <port> */ /* CHAT <unused> <address> 0 <id> (DCC CHAT passive protocol) */ params = g_strsplit(data, " ", -1); @@ -656,14 +656,14 @@ static void ctcp_msg_dcc_chat(IRC_SERVER_REC *server, const char *data, } } } - + dcc = dcc_chat_create(server, chat, nick, params[0]); dcc->target = g_strdup(target); dcc->port = atoi(params[2]); - + if (passive) dcc->pasv_id = atoi(params[3]); - + dcc_str2ip(params[1], &dcc->addr); net_ip2host(&dcc->addr, dcc->addrstr); |