Changeset 9c9a29c for protocols


Ignore:
Timestamp:
2010-10-16T05:17:46Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
3fc6c32
Parents:
d150a9d
Message:

Don't initialize the twitter_connections list to NULL in twitter_init().
This fixes a weird bug where Twitter updates often stop after a while
when running in daemon mode with multiple users connected.

Location:
protocols/twitter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rd150a9d r9c9a29c  
    3838        } while( 0 );
    3939               
     40GSList *twitter_connections = NULL;
    4041
    4142/**
     
    564565        ret->name = "identica";
    565566        register_protocol(ret);
    566 
    567         // Initialise the twitter_connections GSList.
    568         twitter_connections = NULL;
    569 }
     567}
  • protocols/twitter/twitter.h

    rd150a9d r9c9a29c  
    6969 * else.
    7070 */
    71 GSList *twitter_connections;
     71extern GSList *twitter_connections;
    7272
    7373void twitter_login_finish( struct im_connection *ic );
Note: See TracChangeset for help on using the changeset viewer.