- Timestamp:
- 2008-02-16T17:15:31Z (17 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r8961950 r4eb4c0f 77 77 78 78 if( getnameinfo( (struct sockaddr *) &sock, socklen, buf, 79 NI_MAXHOST, NULL, -1, 0 ) == 0 )79 NI_MAXHOST, NULL, 0, 0 ) == 0 ) 80 80 { 81 81 irc->myhost = g_strdup( ipv6_unwrap( buf ) ); … … 88 88 89 89 if( getnameinfo( (struct sockaddr *)&sock, socklen, buf, 90 NI_MAXHOST, NULL, -1, 0 ) == 0 )90 NI_MAXHOST, NULL, 0, 0 ) == 0 ) 91 91 { 92 92 irc->host = g_strdup( ipv6_unwrap( buf ) ); … … 199 199 account_t *account; 200 200 user_t *user, *usertmp; 201 help_t *helpnode, *helpnodetmp;202 201 203 202 log_message( LOGLVL_INFO, "Destroying connection with fd %d", irc->fd ); … … 275 274 g_hash_table_foreach_remove(irc->watches, irc_free_hashkey, NULL); 276 275 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 }288 276 289 277 otr_free(irc->otr);
Note: See TracChangeset
for help on using the changeset viewer.