Changeset 4eb4c0f for irc.c


Ignore:
Timestamp:
2008-02-16T17:15:31Z (16 years ago)
Author:
Sven Moritz Hallberg <sm@…>
Branches:
master
Children:
fd9fa52
Parents:
8961950 (diff), ca60550 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge in upstream changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r8961950 r4eb4c0f  
    7777
    7878                if( getnameinfo( (struct sockaddr *) &sock, socklen, buf,
    79                                  NI_MAXHOST, NULL, -1, 0 ) == 0 )
     79                                 NI_MAXHOST, NULL, 0, 0 ) == 0 )
    8080                {
    8181                        irc->myhost = g_strdup( ipv6_unwrap( buf ) );
     
    8888
    8989                if( getnameinfo( (struct sockaddr *)&sock, socklen, buf,
    90                                  NI_MAXHOST, NULL, -1, 0 ) == 0 )
     90                                 NI_MAXHOST, NULL, 0, 0 ) == 0 )
    9191                {
    9292                        irc->host = g_strdup( ipv6_unwrap( buf ) );
     
    199199        account_t *account;
    200200        user_t *user, *usertmp;
    201         help_t *helpnode, *helpnodetmp;
    202201       
    203202        log_message( LOGLVL_INFO, "Destroying connection with fd %d", irc->fd );
     
    275274        g_hash_table_foreach_remove(irc->watches, irc_free_hashkey, NULL);
    276275        g_hash_table_destroy(irc->watches);
    277        
    278         if (irc->help != NULL) {
    279                 helpnode = irc->help;
    280                 while (helpnode != NULL) {
    281                         g_free(helpnode->string);
    282                        
    283                         helpnodetmp = helpnode;
    284                         helpnode = helpnode->next;
    285                         g_free(helpnodetmp);
    286                 }
    287         }
    288276       
    289277        otr_free(irc->otr);
Note: See TracChangeset for help on using the changeset viewer.