Changeset fb117aee for protocols


Ignore:
Timestamp:
2010-04-02T02:29:45Z (15 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.

Location:
protocols
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • protocols/account.c

    re63507a rfb117aee  
    217217{
    218218        account_t *a, *l = NULL;
    219         struct chat *c, *nc;
    220219       
    221220        if( acc->ic )
  • protocols/bee.h

    re63507a rfb117aee  
    9191/* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle );
    9292/* Call when a handle says something. 'flags' and 'sent_at may be just 0. */
    93 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at );
     93G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, guint32 flags, time_t sent_at );
    9494
    9595#endif /* __BEE_H__ */
  • protocols/bee_user.c

    re63507a rfb117aee  
    9292                msg = buf;
    9393        }
    94        
    95         st = bu->ic->acc->prpl->buddy_msg( bu->ic, bu->handle, msg, flags );
     94        else
     95                buf = g_strdup( msg );
     96       
     97        st = bu->ic->acc->prpl->buddy_msg( bu->ic, bu->handle, buf, flags );
    9698        g_free( buf );
    9799       
  • protocols/nogaim.c

    re63507a rfb117aee  
    3737#include "nogaim.h"
    3838#include "chat.h"
    39 
    40 static int remove_chat_buddy_silent( struct groupchat *b, const char *handle );
    4139
    4240GSList *connections;
     
    475473};
    476474
     475#if 0
    477476static void imcb_ask_auth_cb_no( void *data )
    478477{
     
    494493        g_free( cbd );
    495494}
     495#endif
    496496
    497497void imcb_ask_auth( struct im_connection *ic, const char *handle, const char *realname )
     
    516516
    517517
     518#if 0
    518519static void imcb_ask_add_cb_no( void *data )
    519520{
     
    530531        return imcb_ask_add_cb_no( data );
    531532}
     533#endif
    532534
    533535void imcb_ask_add( struct im_connection *ic, const char *handle, const char *realname )
     
    597599        return c;
    598600#endif
     601        return NULL;
    599602}
    600603
     
    783786}
    784787
     788#if 0
    785789static int remove_chat_buddy_silent( struct groupchat *b, const char *handle )
    786790{
    787 #if 0
    788791        GList *i;
    789792       
     
    801804                i = i->next;
    802805        }
    803 #endif
    804806       
    805807        return 0;
    806808}
     809#endif
    807810
    808811
Note: See TracChangeset for help on using the changeset viewer.