Changes in / [fd03770:6ee9d2d]


Ignore:
Files:
4 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • .bzrignore

    rfd03770 r6ee9d2d  
    1212bitlbee.pc
    1313.gdb_history
    14 tests/check
  • Makefile

    rfd03770 r6ee9d2d  
    4646        rm -f Makefile.settings config.h
    4747        find . -name 'DEADJOE' -o -name '*.orig' -o -name '*.rej' -o -name '*~' -exec rm -f {} \;
    48 
    49 check:
    50         $(MAKE) -C tests
    5148
    5249install-doc:
  • configure

    rfd03770 r6ee9d2d  
    207207echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings
    208208
    209 if [ "$events" = "libevent" ]; then
    210         if ! [ -e "${libevent}include/event.h" ]; then
    211                 echo
    212                 echo 'Warning: Could not find event.h, you might have to install it and/or specify'
    213                 echo 'its location using the --libevent= argument. (Example: If event.h is in'
    214                 echo '/usr/local/include and binaries are in /usr/local/lib: --libevent=/usr/local)'
    215         fi
    216        
    217         echo '#define EVENTS_LIBEVENT' >> config.h
    218         cat <<EOF>>Makefile.settings
    219 EFLAGS+=-levent -L${libevent}lib
    220 CFLAGS+=-I${libevent}include
    221 EOF
    222 elif [ "$events" = "glib" ]; then
    223         ## We already use glib anyway, so this is all we need (and in fact not even this, but just to be sure...):
    224         echo '#define EVENTS_GLIB' >> config.h
    225 else
    226         echo
    227         echo 'ERROR: Unknown event handler specified.'
    228         exit 1
    229 fi
    230 echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings
    231 
    232209detect_gnutls()
    233210{
  • lib/proxy.c

    rfd03770 r6ee9d2d  
    539539        phb->data = data;
    540540       
     541#ifndef _WIN32
     542        sethostent(1);
     543#endif
     544       
    541545        if ((proxytype == PROXY_NONE) || !proxyhost || !proxyhost[0] || !proxyport || (proxyport == -1))
    542546                return proxy_connect_none(host, port, phb);
  • nick.c

    rfd03770 r6ee9d2d  
    163163        int i, j;
    164164       
    165         for( i = j = 0; nick[i] && j < MAX_NICK_LENGTH; i++ )
     165        for( i = j = 0; nick[i] && i < MAX_NICK_LENGTH; i++ )
    166166        {
    167167                if( strchr( nick_lc_chars, nick[i] ) ||
     
    172172                }
    173173        }
    174         while( j <= MAX_NICK_LENGTH )
     174        while( j < MAX_NICK_LENGTH )
    175175                nick[j++] = '\0';
    176176}
  • protocols/msn/msn.c

    rfd03770 r6ee9d2d  
    9494                        g_slist_free( md->msgq );
    9595                }
    96                
    97                 g_free( md->grouplist );
    9896               
    9997                g_free( md );
  • protocols/nogaim.c

    rfd03770 r6ee9d2d  
    294294       
    295295        serv_got_crap( gc, "Signing off.." );
     296        gc->flags |= OPT_LOGGING_OUT;
    296297       
    297298        b_event_remove( gc->keepalive );
    298         gc->flags |= OPT_LOGGING_OUT;
    299        
    300299        gc->keepalive = 0;
    301300        gc->prpl->close( gc );
  • user.c

    rfd03770 r6ee9d2d  
    106106                        if( u->nick != u->host ) g_free( u->host );
    107107                        if( u->nick != u->realname ) g_free( u->realname );
    108                         g_free( u->group );
    109                         g_free( u->away );
    110                         g_free( u->handle );
    111                         g_free( u->sendbuf );
     108                        if( u->away ) g_free( u->away );
     109                        if( u->handle ) g_free( u->handle );
     110                        if( u->sendbuf ) g_free( u->sendbuf );
    112111                        if( u->sendbuf_timer ) b_event_remove( u->sendbuf_timer );
    113112                        g_free( u );
Note: See TracChangeset for help on using the changeset viewer.