Changes in / [3933853:c511365]


Ignore:
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • conf.h

    r3933853 rc511365  
    5151} conf_t;
    5252
    53 conf_t *conf_load( int argc, char *argv[] );
     53G_GNUC_MALLOC conf_t *conf_load( int argc, char *argv[] );
    5454void conf_loaddefaults( irc_t *irc );
    5555
  • crypting.h

    r3933853 rc511365  
    2525
    2626int checkpass (const char *password, const char *md5sum);
    27 char *hashpass (const char *password);
    28 char *obfucrypt (char *line, const char *password);
    29 char *deobfucrypt (char *line, const char *password);
     27G_GNUC_MALLOC char *hashpass (const char *password);
     28G_GNUC_MALLOC char *obfucrypt (char *line, const char *password);
     29G_GNUC_MALLOC char *deobfucrypt (char *line, const char *password);
  • help.h

    r3933853 rc511365  
    4343} help_t;
    4444
    45 help_t *help_init( help_t **help, const char *helpfile );
     45G_GNUC_MALLOC help_t *help_init( help_t **help, const char *helpfile );
    4646char *help_get( help_t **help, char *string );
    4747
  • lib/proxy.c

    r3933853 rc511365  
    211211        }
    212212
    213         if (proxyuser && *proxyuser) {
     213        if (strlen(proxyuser) > 0) {
    214214                char *t1, *t2;
    215215                t1 = g_strdup_printf("%s:%s", proxyuser, proxypass);
     
    539539        phb->data = data;
    540540       
    541         if ((proxytype == PROXY_NONE) || !proxyhost || !proxyhost[0] || !proxyport || (proxyport == -1))
     541        if ((proxytype == PROXY_NONE) || strlen(proxyhost) > 0 || !proxyport || (proxyport == -1))
    542542                return proxy_connect_none(host, port, phb);
    543543        else if (proxytype == PROXY_HTTP)
  • protocols/nogaim.c

    r3933853 rc511365  
    3636#include <ctype.h>
    3737
    38 static int remove_chat_buddy_silent( struct groupchat *b, char *handle );
     38static int remove_chat_buddy_silent( struct groupchat *b, const char *handle );
    3939
    4040GSList *connections;
     
    556556                /* Remove him/her from the conversations to prevent PART messages after he/she QUIT already */
    557557                for( c = ic->conversations; c; c = c->next )
    558                         remove_chat_buddy_silent( c, (char*) handle );
     558                        remove_chat_buddy_silent( c, handle );
    559559        }
    560560       
     
    821821}
    822822
    823 static int remove_chat_buddy_silent( struct groupchat *b, char *handle )
     823static int remove_chat_buddy_silent( struct groupchat *b, const char *handle )
    824824{
    825825        GList *i;
  • storage.h

    r3933853 rc511365  
    6262
    6363void register_storage_backend(storage_t *);
    64 GList *storage_init(const char *primary, char **migrate);
     64G_GNUC_MALLOC GList *storage_init(const char *primary, char **migrate);
    6565
    6666#endif /* __STORAGE_H__ */
Note: See TracChangeset for help on using the changeset viewer.