Ignore:
Timestamp:
2010-05-18T00:08:17Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
31fc06fb
Parents:
5d1b3a95
Message:

Little cleanup. Less compiler warnings, and removing tempfile at the
beginning of the download already to make sure it doesn't stick around.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    r5d1b3a95 rc96c72f  
    142142                                PurpleKeyValuePair *kv = io->data;
    143143                                opts = g_slist_append( opts, kv->value );
     144                                /* TODO: kv->value is not a char*, WTF? */
    144145                                if( strcmp( kv->value, kv->key ) != 0 )
    145                                         g_string_append_printf( help, "%s (%s), ", kv->value, kv->key );
     146                                        g_string_append_printf( help, "%s (%s), ", (char*) kv->value, kv->key );
    146147                                else
    147                                         g_string_append_printf( help, "%s, ", kv->value );
     148                                        g_string_append_printf( help, "%s, ", (char*) kv->value );
    148149                        }
    149150                        g_string_truncate( help, help->len - 2 );
     
    455456}
    456457
    457 void purple_chat_leave( struct groupchat *gc, char *who )
     458void purple_chat_leave( struct groupchat *gc )
    458459{
    459460        PurpleConversation *pc = gc->data;
Note: See TracChangeset for help on using the changeset viewer.