1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

core: remove some compilation warnings under Cygwin

This commit is contained in:
Sebastien Helleu
2011-08-18 11:09:46 +02:00
parent 885e0d9374
commit aa948c76a3
11 changed files with 16 additions and 21 deletions
+2 -7
View File
@@ -866,7 +866,7 @@ int
irc_command_ctcp (void *data, struct t_gui_buffer *buffer, int argc,
char **argv, char **argv_eol)
{
char *pos, *irc_cmd, str_time[512];
char *irc_cmd, str_time[512];
struct timeval tv;
IRC_BUFFER_GET_SERVER(buffer);
@@ -881,12 +881,7 @@ irc_command_ctcp (void *data, struct t_gui_buffer *buffer, int argc,
if (!irc_cmd)
return WEECHAT_RC_ERROR;
pos = irc_cmd;
while (pos[0])
{
pos[0] = toupper (pos[0]);
pos++;
}
weechat_string_toupper (irc_cmd);
if ((weechat_strcasecmp (argv[2], "ping") == 0) && !argv_eol[3])
{