diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2015-01-17 20:00:49 +0000 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2015-01-17 20:00:49 +0000 | 
| commit | 1065dd4f38c81c83934ba51526471072837700ae (patch) | |
| tree | 42ea01f5040065df60917daca6605318ec4f28df /protocols | |
| parent | bc7a0d46e36a819755ca3f2b38194fb11eca0dd9 (diff) | |
| parent | 6b13103dad92d505e038c268af66aeb04b7b4d87 (diff) | |
Merge cleanup changes. (FSF address fix, and using GLib variants of some
functions which cleans up compiler warnings.)
Diffstat (limited to 'protocols')
39 files changed, 78 insertions, 78 deletions
| diff --git a/protocols/account.c b/protocols/account.c index 83c214b1..188e362e 100644 --- a/protocols/account.c +++ b/protocols/account.c @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #define BITLBEE_CORE @@ -80,7 +80,7 @@ account_t *account_add( bee_t *bee, struct prpl *prpl, char *user, char *pass )  	strcpy( tag, prpl->name );  	if( strcmp( prpl->name, "oscar" ) == 0 )  	{ -		if( isdigit( a->user[0] ) ) +		if( g_ascii_isdigit( a->user[0] ) )  			strcpy( tag, "icq" );  		else  			strcpy( tag, "aim" ); @@ -416,7 +416,7 @@ int account_reconnect_delay_parse( char *value, struct account_reconnect_delay *  	p->max = 86400;  	/* Format: /[0-9]+([*+][0-9]+(<[0-9+])?)?/ */ -	while( *value && isdigit( *value ) ) +	while( *value && g_ascii_isdigit( *value ) )  		p->start = p->start * 10 + *value++ - '0';  	/* Sure, call me evil for implementing my own fscanf here, but it's @@ -432,7 +432,7 @@ int account_reconnect_delay_parse( char *value, struct account_reconnect_delay *  	p->op = *value++;  	/* + or * the delay by this number every time. */ -	while( *value && isdigit( *value ) ) +	while( *value && g_ascii_isdigit( *value ) )  		p->step = p->step * 10 + *value++ - '0';  	if( *value == 0 ) @@ -443,7 +443,7 @@ int account_reconnect_delay_parse( char *value, struct account_reconnect_delay *  	p->max = 0;  	value ++; -	while( *value && isdigit( *value ) ) +	while( *value && g_ascii_isdigit( *value ) )  		p->max = p->max * 10 + *value++ - '0';  	return p->max > 0; diff --git a/protocols/account.h b/protocols/account.h index 14633fad..d3e93504 100644 --- a/protocols/account.h +++ b/protocols/account.h @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #ifndef _ACCOUNT_H diff --git a/protocols/bee.c b/protocols/bee.c index 5800233d..887d1560 100644 --- a/protocols/bee.c +++ b/protocols/bee.c @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #define BITLBEE_CORE diff --git a/protocols/bee.h b/protocols/bee.h index 24f5824e..949bb025 100644 --- a/protocols/bee.h +++ b/protocols/bee.h @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #ifndef __BEE_H__ diff --git a/protocols/bee_chat.c b/protocols/bee_chat.c index 349e0547..1b741730 100644 --- a/protocols/bee_chat.c +++ b/protocols/bee_chat.c @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #define BITLBEE_CORE diff --git a/protocols/bee_ft.c b/protocols/bee_ft.c index 1026eab3..71299e99 100644 --- a/protocols/bee_ft.c +++ b/protocols/bee_ft.c @@ -17,8 +17,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #define BITLBEE_CORE diff --git a/protocols/bee_user.c b/protocols/bee_user.c index f0091799..4169744f 100644 --- a/protocols/bee_user.c +++ b/protocols/bee_user.c @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #define BITLBEE_CORE diff --git a/protocols/ft.h b/protocols/ft.h index 159f16f2..65877c7d 100644 --- a/protocols/ft.h +++ b/protocols/ft.h @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #ifndef _FT_H diff --git a/protocols/jabber/jabber_util.c b/protocols/jabber/jabber_util.c index fb68c33d..9d8011f8 100644 --- a/protocols/jabber/jabber_util.c +++ b/protocols/jabber/jabber_util.c @@ -320,7 +320,7 @@ int jabber_compare_jid( const char *jid1, const char *jid2 )  				break;  			return FALSE;  		} -		if( tolower( jid1[i] ) != tolower( jid2[i] ) ) +		if( g_ascii_tolower( jid1[i] ) != g_ascii_tolower( jid2[i] ) )  		{  			return FALSE;  		} @@ -341,7 +341,7 @@ char *jabber_normalize( const char *orig )  	/* So it turns out the /resource part is case sensitive. Yeah, and  	   it's Unicode but feck Unicode. :-P So stop once we see a slash. */  	for( i = 0; i < len && orig[i] != '/' ; i ++ ) -		new[i] = tolower( orig[i] ); +		new[i] = g_ascii_tolower( orig[i] );  	for( ; orig[i]; i ++ )  		new[i] = orig[i]; diff --git a/protocols/jabber/sasl.c b/protocols/jabber/sasl.c index a4d1f6c1..65da529a 100644 --- a/protocols/jabber/sasl.c +++ b/protocols/jabber/sasl.c @@ -186,7 +186,7 @@ char *sasl_get_part( char *data, char *field )  	len = strlen( field ); -	while( isspace( *data ) || *data == ',' ) +	while( g_ascii_isspace( *data ) || *data == ',' )  		data ++;  	if( g_strncasecmp( data, field, len ) == 0 && data[len] == '=' ) @@ -209,7 +209,7 @@ char *sasl_get_part( char *data, char *field )  			   find the next key after it. */  			if( data[i] == ',' )  			{ -				while( isspace( data[i] ) || data[i] == ',' ) +				while( g_ascii_isspace( data[i] ) || data[i] == ',' )  					i ++;  				if( g_strncasecmp( data + i, field, len ) == 0 && diff --git a/protocols/msn/invitation.c b/protocols/msn/invitation.c index 9f8b9a6e..7bfec4aa 100644 --- a/protocols/msn/invitation.c +++ b/protocols/msn/invitation.c @@ -20,8 +20,8 @@   You should have received a copy of the GNU General Public License with   the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA  02111-1307  USA + if not, write to the Free Software Foundation, Inc., 51 Franklin St., + Fifth Floor, Boston, MA  02110-1301  USA   */  #include "bitlbee.h" diff --git a/protocols/msn/invitation.h b/protocols/msn/invitation.h index 289efd7b..13bbf0d3 100644 --- a/protocols/msn/invitation.h +++ b/protocols/msn/invitation.h @@ -19,8 +19,8 @@   You should have received a copy of the GNU General Public License with   the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; - if not, write to the Free Software Foundation, Inc., 59 Temple Place, - Suite 330, Boston, MA  02111-1307  USA + if not, write to the Free Software Foundation, Inc., 51 Franklin St., + Fifth Floor, Boston, MA  02110-1301  USA   */  #ifndef _MSN_INVITATION_H diff --git a/protocols/msn/msn.c b/protocols/msn/msn.c index ea38b379..65c19276 100644 --- a/protocols/msn/msn.c +++ b/protocols/msn/msn.c @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #include "nogaim.h" @@ -376,7 +376,7 @@ static void msn_buddy_data_add( bee_user_t *bu )  	bd = bu->data = g_new0( struct msn_buddy_data, 1 );  	g_tree_insert( md->domaintree, bu->handle, bu ); -	for( handle = bu->handle; isdigit( *handle ); handle ++ ); +	for( handle = bu->handle; g_ascii_isdigit( *handle ); handle ++ );  	if( *handle == ':' )  	{  		/* Pass a nick hint so hopefully the stupid numeric prefix diff --git a/protocols/msn/msn.h b/protocols/msn/msn.h index cb50c6c2..438b2174 100644 --- a/protocols/msn/msn.h +++ b/protocols/msn/msn.h @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #ifndef _MSN_H diff --git a/protocols/msn/msn_util.c b/protocols/msn/msn_util.c index d15bc123..f329ae03 100644 --- a/protocols/msn/msn_util.c +++ b/protocols/msn/msn_util.c @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #include "nogaim.h" diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index 7acf4654..c4b6c462 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #include <ctype.h> @@ -580,7 +580,7 @@ static int msn_ns_command( struct msn_handler_data *handler, char **cmd, int num  	{  		ic->flags |= OPT_PONGED;  	} -	else if( isdigit( cmd[0][0] ) ) +	else if( g_ascii_isdigit( cmd[0][0] ) )  	{  		int num = atoi( cmd[0] );  		const struct msn_status_code *err = msn_status_by_number( num ); @@ -996,7 +996,7 @@ int msn_ns_sendmessage( struct im_connection *ic, bee_user_t *bu, const char *te  	/* This might be a federated contact. Get its network number,  	   prefixed to bu->handle with a colon. Default is 1. */ -	for( handle = bu->handle; isdigit( *handle ); handle ++ ) +	for( handle = bu->handle; g_ascii_isdigit( *handle ); handle ++ )  		type = type * 10 + *handle - '0';  	if( *handle == ':' )  		handle ++; diff --git a/protocols/msn/sb.c b/protocols/msn/sb.c index 1cd1c743..40e4e00d 100644 --- a/protocols/msn/sb.c +++ b/protocols/msn/sb.c @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #include <ctype.h> @@ -505,7 +505,7 @@ static int msn_sb_command( struct msn_handler_data *handler, char **cmd, int num  	}  	else if( strcmp( cmd[0], "CAL" ) == 0 )  	{ -		if( num_parts < 4 || !isdigit( cmd[3][0] ) ) +		if( num_parts < 4 || !g_ascii_isdigit( cmd[3][0] ) )  		{  			msn_sb_destroy( sb );  			return( 0 ); @@ -644,7 +644,7 @@ static int msn_sb_command( struct msn_handler_data *handler, char **cmd, int num  			/* PANIC! */  		}  	} -	else if( isdigit( cmd[0][0] ) ) +	else if( g_ascii_isdigit( cmd[0][0] ) )  	{  		int num = atoi( cmd[0] );  		const struct msn_status_code *err = msn_status_by_number( num ); diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index 35299b28..175b4546 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -22,8 +22,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #include "http_client.h" diff --git a/protocols/msn/soap.h b/protocols/msn/soap.h index 1981330e..73ef5f8a 100644 --- a/protocols/msn/soap.h +++ b/protocols/msn/soap.h @@ -22,8 +22,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  /* Thanks to http://msnpiki.msnfanatic.com/ for lots of info on this! */ diff --git a/protocols/msn/tables.c b/protocols/msn/tables.c index 273d291e..c3e36eb5 100644 --- a/protocols/msn/tables.c +++ b/protocols/msn/tables.c @@ -19,8 +19,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #include "nogaim.h" diff --git a/protocols/nogaim.c b/protocols/nogaim.c index 2f75a7b8..ff1c9a85 100644 --- a/protocols/nogaim.c +++ b/protocols/nogaim.c @@ -27,8 +27,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #define BITLBEE_CORE diff --git a/protocols/nogaim.h b/protocols/nogaim.h index 3fd940b5..c236a0b5 100644 --- a/protocols/nogaim.h +++ b/protocols/nogaim.h @@ -31,8 +31,8 @@    You should have received a copy of the GNU General Public License with    the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; -  if not, write to the Free Software Foundation, Inc., 59 Temple Place, -  Suite 330, Boston, MA  02111-1307  USA +  if not, write to the Free Software Foundation, Inc., 51 Franklin St., +  Fifth Floor, Boston, MA  02110-1301  USA  */  #ifndef _NOGAIM_H diff --git a/protocols/oscar/auth.c b/protocols/oscar/auth.c index 0f7c8d0f..7a6b05d4 100644 --- a/protocols/oscar/auth.c +++ b/protocols/oscar/auth.c @@ -124,7 +124,7 @@ int aim_request_login(aim_session_t *sess, aim_conn_t *conn, const char *sn)  	if (!sess || !conn || !sn)  		return -EINVAL; -	if (isdigit(sn[0]) && set_getbool(&ic->acc->set, "old_icq_auth")) +	if (g_ascii_isdigit(sn[0]) && set_getbool(&ic->acc->set, "old_icq_auth"))  		return goddamnicq(sess, conn, sn);  	sess->flags |= AIM_SESS_FLAGS_SNACLOGIN; diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c index 021792b3..1c74e7a2 100644 --- a/protocols/oscar/oscar.c +++ b/protocols/oscar/oscar.c @@ -18,7 +18,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ @@ -367,7 +367,7 @@ static gboolean oscar_login_connect(gpointer data, gint source, b_input_conditio  static void oscar_init(account_t *acc)  {  	set_t *s; -	gboolean icq = isdigit(acc->user[0]); +	gboolean icq = g_ascii_isdigit(acc->user[0]);  	if (icq) {  		set_add(&acc->set, "ignore_auth_requests", "false", set_eval_bool, acc); @@ -393,7 +393,7 @@ static void oscar_login(account_t *acc) {  	struct im_connection *ic = imcb_new(acc);  	struct oscar_data *odata = ic->proto_data = g_new0(struct oscar_data, 1); -	if (isdigit(acc->user[0])) +	if (g_ascii_isdigit(acc->user[0]))  		odata->icq = TRUE;  	else  		ic->flags |= OPT_DOES_HTML; @@ -2499,11 +2499,11 @@ struct groupchat *oscar_chat_with(struct im_connection * ic, char *who)  	static int chat_id = 0;  	char * chatname, *s; -	chatname = g_strdup_printf("%s%s%d", isdigit(*ic->acc->user) ? "icq" : "", +	chatname = g_strdup_printf("%s%s%d", g_ascii_isdigit(*ic->acc->user) ? "icq" : "",  	                           ic->acc->user, chat_id++);  	for (s = chatname; *s; s ++) -		if (!isalnum(*s)) +		if (!g_ascii_isalnum(*s))  			*s = '0';  	ret = oscar_chat_join_internal(ic, chatname, NULL, NULL, 4); diff --git a/protocols/oscar/oscar_util.c b/protocols/oscar/oscar_util.c index 7d41d383..806632ff 100644 --- a/protocols/oscar/oscar_util.c +++ b/protocols/oscar/oscar_util.c @@ -56,7 +56,7 @@ int aim_sncmp(const char *sn1, const char *sn2)  			if (*curPtr2 == ' ')  				curPtr2++;  		} else { -			if ( toupper(*curPtr1) != toupper(*curPtr2)) +			if ( g_ascii_toupper(*curPtr1) != g_ascii_toupper(*curPtr2))  				return 1;  			curPtr1++;  			curPtr2++; diff --git a/protocols/purple/purple.c b/protocols/purple/purple.c index 6e9682ed..97d2a4ae 100644 --- a/protocols/purple/purple.c +++ b/protocols/purple/purple.c @@ -60,7 +60,7 @@ static gboolean purple_menu_cmp( const char *a, const char *b )  	{  		while( *a == '_' ) a ++;  		while( *b == '_' ) b ++; -		if( tolower( *a ) != tolower( *b ) ) +		if( g_ascii_tolower( *a ) != g_ascii_tolower( *b ) )  			return FALSE;  		a ++; @@ -1147,7 +1147,7 @@ static void *prplcb_notify_userinfo( PurpleConnection *gc, const char *who, Purp  				if( value )  				{  					n = strlen( value ) - 1; -					while( isspace( value[n] ) ) +					while( g_ascii_isspace( value[n] ) )  						n --;  					g_string_append_len( info, value, n + 1 );  				} diff --git a/protocols/skype/skype.c b/protocols/skype/skype.c index 714babf4..20897d99 100644 --- a/protocols/skype/skype.c +++ b/protocols/skype/skype.c @@ -15,7 +15,7 @@   *   *  You should have received a copy of the GNU General Public License   *  along with this program; if not, write to the Free Software - *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,   *  USA.   */ @@ -513,7 +513,7 @@ static void skype_parse_user(struct im_connection *ic, char *line)  			if (strlen(sd->info_sex)) {  				char *iptr = sd->info_sex;  				while (*iptr++) -					*iptr = tolower(*iptr); +					*iptr = g_ascii_tolower(*iptr);  				g_string_append_printf(st,  					"Gender: %s\n", sd->info_sex);  			} diff --git a/protocols/twitter/twitter.c b/protocols/twitter/twitter.c index 2a6ae88f..ca32b3ce 100644 --- a/protocols/twitter/twitter.c +++ b/protocols/twitter/twitter.c @@ -458,9 +458,9 @@ static int twitter_buddy_msg(struct im_connection *ic, char *who, char *message,  			char pin[strlen(message) + 1], *s;  			strcpy(pin, message); -			for (s = pin + sizeof(pin) - 2; s > pin && isspace(*s); s--) +			for (s = pin + sizeof(pin) - 2; s > pin && g_ascii_isspace(*s); s--)  				*s = '\0'; -			for (s = pin; *s && isspace(*s); s++) { +			for (s = pin; *s && g_ascii_isspace(*s); s++) {  			}  			if (!oauth_access_token(s, td->oauth_info)) { diff --git a/protocols/yahoo/libyahoo2.c b/protocols/yahoo/libyahoo2.c index fe40786b..cc4724f6 100644 --- a/protocols/yahoo/libyahoo2.c +++ b/protocols/yahoo/libyahoo2.c @@ -43,7 +43,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c index a9fb2f34..a736b05b 100644 --- a/protocols/yahoo/yahoo.c +++ b/protocols/yahoo/yahoo.c @@ -15,7 +15,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ diff --git a/protocols/yahoo/yahoo2.h b/protocols/yahoo/yahoo2.h index b9e6665b..76180cd6 100644 --- a/protocols/yahoo/yahoo2.h +++ b/protocols/yahoo/yahoo2.h @@ -15,7 +15,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ diff --git a/protocols/yahoo/yahoo2_callbacks.h b/protocols/yahoo/yahoo2_callbacks.h index 0a3aab46..4e635cb1 100644 --- a/protocols/yahoo/yahoo2_callbacks.h +++ b/protocols/yahoo/yahoo2_callbacks.h @@ -15,7 +15,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ diff --git a/protocols/yahoo/yahoo2_types.h b/protocols/yahoo/yahoo2_types.h index bbade5d8..62aa39d1 100644 --- a/protocols/yahoo/yahoo2_types.h +++ b/protocols/yahoo/yahoo2_types.h @@ -15,7 +15,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ diff --git a/protocols/yahoo/yahoo_debug.h b/protocols/yahoo/yahoo_debug.h index 59d92901..08382d64 100644 --- a/protocols/yahoo/yahoo_debug.h +++ b/protocols/yahoo/yahoo_debug.h @@ -15,7 +15,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ diff --git a/protocols/yahoo/yahoo_httplib.c b/protocols/yahoo/yahoo_httplib.c index 93fdb263..ec153234 100644 --- a/protocols/yahoo/yahoo_httplib.c +++ b/protocols/yahoo/yahoo_httplib.c @@ -15,7 +15,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ @@ -151,7 +151,7 @@ static int url_to_host_port_path(const char *url,  static int isurlchar(unsigned char c)  { -	return (isalnum(c)); +	return (g_ascii_isalnum(c));  }  char *yahoo_urlencode(const char *instr) diff --git a/protocols/yahoo/yahoo_httplib.h b/protocols/yahoo/yahoo_httplib.h index ab699b20..8e386717 100644 --- a/protocols/yahoo/yahoo_httplib.h +++ b/protocols/yahoo/yahoo_httplib.h @@ -15,7 +15,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ diff --git a/protocols/yahoo/yahoo_list.h b/protocols/yahoo/yahoo_list.h index c2e5ad18..21bd4f06 100644 --- a/protocols/yahoo/yahoo_list.h +++ b/protocols/yahoo/yahoo_list.h @@ -16,7 +16,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ diff --git a/protocols/yahoo/yahoo_util.c b/protocols/yahoo/yahoo_util.c index 33a12674..1b6168aa 100644 --- a/protocols/yahoo/yahoo_util.c +++ b/protocols/yahoo/yahoo_util.c @@ -15,7 +15,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ diff --git a/protocols/yahoo/yahoo_util.h b/protocols/yahoo/yahoo_util.h index 6b4da304..1f55e064 100644 --- a/protocols/yahoo/yahoo_util.h +++ b/protocols/yahoo/yahoo_util.h @@ -15,7 +15,7 @@   *   * You should have received a copy of the GNU General Public License   * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA   *   */ | 
