Changeset 25c4c78
- Timestamp:
- 2015-01-16T19:50:24Z (10 years ago)
- Branches:
- master
- Children:
- a6cd799
- Parents:
- 7549d00
- git-author:
- Jason Copenhaver <jcopenha@…> (16-01-15 19:50:24)
- git-committer:
- dequis <dx@…> (16-01-15 19:50:24)
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r7549d00 r25c4c78 56 56 57 57 echo BitlBee configure 58 59 # Cygwin and Darwin don't support PIC/PIE 60 case "$arch" in 61 CYGWIN* ) 62 pie=0;; 63 Darwin ) 64 pie=0;; 65 esac 58 66 59 67 while [ -n "$1" ]; do -
ipc.c
r7549d00 r25c4c78 524 524 { 525 525 /* There is no typo in this line: */ 526 for( j = 1; cmd[j]; j ++ ); j --; 526 for( j = 1; cmd[j]; j ++ ) 527 ; 528 j--; 527 529 528 530 if( j < commands[i].required_parameters ) -
irc_commands.c
r7549d00 r25c4c78 770 770 { 771 771 /* There should be no typo in the next line: */ 772 for( n_arg = 0; cmd[n_arg]; n_arg ++ ); n_arg --; 772 for( n_arg = 0; cmd[n_arg]; n_arg ++ ) 773 ; 774 n_arg--; 773 775 774 776 if( irc_commands[i].flags & IRC_CMD_PRE_LOGIN && irc->status & USTATUS_LOGGED_IN ) -
lib/ns_parse.c
r7549d00 r25c4c78 19 19 20 20 #ifndef lint 21 static const char rcsid[] = "$Id: ns_parse.c,v 1.10 2009/01/23 19:59:16 each Exp $";21 //static const char rcsid[] = "$Id: ns_parse.c,v 1.10 2009/01/23 19:59:16 each Exp $"; 22 22 #endif 23 23 -
lib/proxy.c
r7549d00 r25c4c78 66 66 { 67 67 struct PHB *phb = data; 68 unsigned int len;68 socklen_t len; 69 69 int error = ETIMEDOUT; 70 70 len = sizeof(error); … … 214 214 char cmd[384]; 215 215 struct PHB *phb = data; 216 unsigned int len;216 socklen_t len; 217 217 int error = ETIMEDOUT; 218 218 if (phb->inpa > 0) … … 309 309 struct hostent *hp; 310 310 struct PHB *phb = data; 311 unsigned int len;311 socklen_t len; 312 312 int error = ETIMEDOUT; 313 313 if (phb->inpa > 0) … … 501 501 int i; 502 502 struct PHB *phb = data; 503 unsigned int len;503 socklen_t len; 504 504 int error = ETIMEDOUT; 505 505 if (phb->inpa > 0) -
protocols/oscar/conn.c
r7549d00 r25c4c78 571 571 572 572 if (FD_ISSET(conn->fd, &fds) || FD_ISSET(conn->fd, &wfds)) { 573 unsigned int len = sizeof(error);573 socklen_t len = sizeof(error); 574 574 575 575 if (getsockopt(conn->fd, SOL_SOCKET, SO_ERROR, &error, &len) < 0) -
protocols/yahoo/libyahoo2.c
r7549d00 r25c4c78 974 974 msg = pair->value; 975 975 976 if (pair->key == 13) ; 976 if (pair->key == 13) 977 ; 977 978 if (pair->key == 16) /* error */ 978 979 msg = pair->value; … … 1795 1796 switch (code) 1796 1797 { 1797 case 1212: return YAHOO_LOGIN_PASSWD;1798 case 1213: return YAHOO_LOGIN_LOCK;1799 case 1235: return YAHOO_LOGIN_UNAME;1798 case 1212: return (enum yahoo_status) YAHOO_LOGIN_PASSWD; 1799 case 1213: return (enum yahoo_status) YAHOO_LOGIN_LOCK; 1800 case 1235: return (enum yahoo_status) YAHOO_LOGIN_UNAME; 1800 1801 default: return (enum yahoo_status) code; 1801 1802 } … … 3610 3611 yd = yid->yd; 3611 3612 3612 pkt = yahoo_packet_new(YAHOO_SERVICE_MESSAGE, YAHOO_STATUS_OFFLINE,3613 pkt = yahoo_packet_new(YAHOO_SERVICE_MESSAGE, (enum ypacket_status) YAHOO_STATUS_OFFLINE, 3613 3614 yd->session_id); 3614 3615 … … 3677 3678 if (yd->current_status == YAHOO_STATUS_INVISIBLE) { 3678 3679 pkt = yahoo_packet_new(YAHOO_SERVICE_Y6_VISIBLE_TOGGLE, 3679 YAHOO_STATUS_AVAILABLE, 0);3680 (enum ypacket_status) YAHOO_STATUS_AVAILABLE, 0); 3680 3681 yahoo_packet_hash(pkt, 13, "2"); 3681 3682 yahoo_send_packet(yid, pkt, 0); … … 3696 3697 if (old_status == YAHOO_STATUS_INVISIBLE) { 3697 3698 pkt = yahoo_packet_new(YAHOO_SERVICE_Y6_VISIBLE_TOGGLE, 3698 YAHOO_STATUS_AVAILABLE, 0);3699 (enum ypacket_status) YAHOO_STATUS_AVAILABLE, 0); 3699 3700 yahoo_packet_hash(pkt, 13, "1"); 3700 3701 yahoo_send_packet(yid, pkt, 0); -
protocols/yahoo/yahoo_util.h
r7549d00 r25c4c78 48 48 49 49 # define snprintf g_snprintf 50 #ifdef vsnprintf 51 #undef vsnprintf 52 #endif 50 53 # define vsnprintf g_vsnprintf 51 54 -
tests/check_arc.c
r7549d00 r25c4c78 88 88 &decrypted, password ); 89 89 90 fail_if( len == -1, 91 "`%s' didn't decrypt properly", decrypt_tests[i].decrypted ); 90 92 fail_if( strcmp( decrypt_tests[i].decrypted, decrypted ) != 0, 91 93 "`%s' didn't decrypt properly", decrypt_tests[i].decrypted ); -
tests/check_irc.c
r7549d00 r25c4c78 28 28 GIOChannel *ch1, *ch2; 29 29 irc_t *irc; 30 GError *error = NULL;31 30 char *raw; 32 31 fail_unless(g_io_channel_pair(&ch1, &ch2)); -
tests/check_jabber_sasl.c
r7549d00 r25c4c78 87 87 tcase_fn_start( get_part_tests[i].key, __FILE__, i ); 88 88 char *res; 89 int len;90 89 91 90 res = sasl_get_part( get_part_tests[i].challenge,
Note: See TracChangeset
for help on using the changeset viewer.