Changes in / [881fd4e:1b5ab36]
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
conf.c
r881fd4e r1b5ab36 95 95 conf->port = i; 96 96 } 97 else if( opt == ' P' )97 else if( opt == 'p' ) 98 98 { 99 99 g_free( conf->pidfile ); -
ipc.c
r881fd4e r1b5ab36 507 507 } 508 508 509 if (bind(serversock, (struct sockaddr *)&un_addr, sizeof(un_addr)) == -1) {509 if (bind(serversock, &un_addr, sizeof(un_addr)) == -1) { 510 510 log_message( LOGLVL_WARNING, "Unable to bind UNIX socket to %s: %s", IPCSOCKET, strerror(errno) ); 511 511 return 0; … … 571 571 ipc_to_children_str( "OPERMSG :New BitlBee master process started (version " BITLBEE_VERSION ")\r\n" ); 572 572 573 fclose( fp );574 573 return 1; 575 574 } -
irc.c
r881fd4e r1b5ab36 557 557 558 558 u = user_find( irc, irc->mynick ); 559 i s_private = u->is_private;559 if( u ) is_private = u->is_private; 560 560 561 561 va_start( params, format ); -
protocols/jabber/jabber.c
r881fd4e r1b5ab36 1549 1549 if(jd->gjc != NULL) { 1550 1550 gjab_delete(jd->gjc); 1551 /* YAY for modules with their own memory pool managers!...1552 1551 g_free(jd->gjc->sid); 1553 And a less sarcastic yay for valgrind. :-) */1554 1552 jd->gjc = NULL; 1555 1553 } -
protocols/jabber/xmlparse.c
r881fd4e r1b5ab36 1461 1461 s = protocolEncodingName; 1462 1462 #endif 1463 if ( ns ? XmlInitEncodingNS(&initEncoding, &encoding, s) : XmlInitEncoding(&initEncoding, &encoding, s))1463 if ((ns ? XmlInitEncodingNS : XmlInitEncoding)(&initEncoding, &encoding, s)) 1464 1464 return XML_ERROR_NONE; 1465 1465 return handleUnknownEncoding(parser, protocolEncodingName); … … 1475 1475 int standalone = -1; 1476 1476 if (!(ns 1477 ? XmlParseXmlDeclNS(isGeneralTextEntity, 1477 ? XmlParseXmlDeclNS 1478 : XmlParseXmlDecl)(isGeneralTextEntity, 1478 1479 encoding, 1479 1480 s, … … 1483 1484 &encodingName, 1484 1485 &newEncoding, 1485 &standalone) 1486 : XmlParseXmlDecl(isGeneralTextEntity, 1487 encoding, 1488 s, 1489 next, 1490 &eventPtr, 1491 &version, 1492 &encodingName, 1493 &newEncoding, 1494 &standalone))) 1486 &standalone)) 1495 1487 return XML_ERROR_SYNTAX; 1496 1488 if (!isGeneralTextEntity && standalone == 1) … … 1545 1537 } 1546 1538 enc = (ns 1547 ? XmlInitUnknownEncodingNS(unknownEncodingMem, 1539 ? XmlInitUnknownEncodingNS 1540 : XmlInitUnknownEncoding)(unknownEncodingMem, 1548 1541 info.map, 1549 1542 info.convert, 1550 info.data) 1551 : XmlInitUnknownEncoding(unknownEncodingMem, 1552 info.map, 1553 info.convert, 1554 info.data)); 1543 info.data); 1555 1544 if (enc) { 1556 1545 unknownEncodingData = info.data; -
protocols/nogaim.c
r881fd4e r1b5ab36 612 612 return; 613 613 } 614 /* Why did we have this here.... 615 return; */ 614 return; 616 615 } 617 616 -
protocols/oscar/oscar_util.c
r881fd4e r1b5ab36 109 109 110 110 curPtr = sn; 111 while ( (*curPtr) != (char) '\0') {111 while ( (*curPtr) != (char) NULL) { 112 112 if ((*curPtr) != ' ') 113 113 i++; … … 140 140 curPtr1 = sn1; 141 141 curPtr2 = sn2; 142 while ( (*curPtr1 != (char) '\0') && (*curPtr2 != (char) '\0') ) {142 while ( (*curPtr1 != (char) NULL) && (*curPtr2 != (char) NULL) ) { 143 143 if ( (*curPtr1 == ' ') || (*curPtr2 == ' ') ) { 144 144 if (*curPtr1 == ' ') -
protocols/oscar/service.c
r881fd4e r1b5ab36 881 881 #endif 882 882 883 /* len can't be 0 here anyway...884 883 } else if ((offset == 0x00001000) && (len == 0x00000000)) { 885 884 … … 888 887 aimbs_put32(&fr->data, 0xe9800998); 889 888 aimbs_put32(&fr->data, 0xecf8427e); 890 */ 889 891 890 } else 892 891 do_error_dialog(sess->aux_data, "WARNING: unknown hash request", "Gaim"); -
set.c
r881fd4e r1b5ab36 150 150 if( s ) 151 151 { 152 if( t ) 153 t->next = s->next; 154 else 155 irc->set = s->next; 156 152 t->next = s->next; 157 153 g_free( s->key ); 158 154 if( s->value ) g_free( s->value );
Note: See TracChangeset
for help on using the changeset viewer.