Changeset fb117aee for irc_channel.c


Ignore:
Timestamp:
2010-04-02T02:29:45Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
231b08b
Parents:
e63507a
Message:

Cleaned lots of compiler warnings so I can get some signal again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_channel.c

    re63507a rfb117aee  
    139139static gboolean control_channel_privmsg( irc_channel_t *ic, const char *msg )
    140140{
     141        char cmd[strlen(msg)+1];
     142       
    141143        g_free( ic->irc->last_root_cmd );
    142144        ic->irc->last_root_cmd = g_strdup( ic->name );
    143145       
    144         root_command_string( ic->irc, msg );
     146        strcpy( cmd, msg );
     147        root_command_string( ic->irc, cmd );
    145148       
    146149        return TRUE;
Note: See TracChangeset for help on using the changeset viewer.