aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--COPYING41
-rw-r--r--bitlbee.c4
-rw-r--r--bitlbee.h4
-rw-r--r--commands.h4
-rw-r--r--conf.c4
-rw-r--r--conf.h4
-rw-r--r--dcc.c6
-rw-r--r--dcc.h4
-rw-r--r--help.c4
-rw-r--r--help.h4
-rw-r--r--ipc.c4
-rw-r--r--ipc.h4
-rw-r--r--irc.c4
-rw-r--r--irc.h4
-rw-r--r--irc_channel.c8
-rw-r--r--irc_commands.c4
-rw-r--r--irc_im.c8
-rw-r--r--irc_send.c4
-rw-r--r--irc_user.c4
-rw-r--r--irc_util.c12
-rw-r--r--lib/events.h2
-rw-r--r--lib/events_glib.c4
-rw-r--r--lib/events_libevent.c4
-rw-r--r--lib/http_client.c8
-rw-r--r--lib/http_client.h4
-rw-r--r--lib/ini.c8
-rw-r--r--lib/ini.h4
-rw-r--r--lib/json.c8
-rw-r--r--lib/misc.c12
-rw-r--r--lib/misc.h4
-rw-r--r--lib/proxy.c2
-rw-r--r--lib/proxy.h2
-rw-r--r--lib/ssl_client.h4
-rw-r--r--lib/ssl_gnutls.c6
-rw-r--r--lib/ssl_nss.c4
-rw-r--r--lib/ssl_openssl.c6
-rw-r--r--lib/url.c4
-rw-r--r--lib/url.h4
-rw-r--r--log.c4
-rw-r--r--log.h4
-rw-r--r--nick.c14
-rw-r--r--nick.h4
-rw-r--r--otr.c10
-rw-r--r--otr.h4
-rw-r--r--protocols/account.c12
-rw-r--r--protocols/account.h4
-rw-r--r--protocols/bee.c4
-rw-r--r--protocols/bee.h4
-rw-r--r--protocols/bee_chat.c4
-rw-r--r--protocols/bee_ft.c4
-rw-r--r--protocols/bee_user.c4
-rw-r--r--protocols/ft.h4
-rw-r--r--protocols/jabber/jabber_util.c4
-rw-r--r--protocols/jabber/sasl.c4
-rw-r--r--protocols/msn/invitation.c4
-rw-r--r--protocols/msn/invitation.h4
-rw-r--r--protocols/msn/msn.c6
-rw-r--r--protocols/msn/msn.h4
-rw-r--r--protocols/msn/msn_util.c4
-rw-r--r--protocols/msn/ns.c8
-rw-r--r--protocols/msn/sb.c8
-rw-r--r--protocols/msn/soap.c4
-rw-r--r--protocols/msn/soap.h4
-rw-r--r--protocols/msn/tables.c4
-rw-r--r--protocols/nogaim.c4
-rw-r--r--protocols/nogaim.h4
-rw-r--r--protocols/oscar/auth.c2
-rw-r--r--protocols/oscar/oscar.c10
-rw-r--r--protocols/oscar/oscar_util.c2
-rw-r--r--protocols/purple/purple.c4
-rw-r--r--protocols/skype/skype.c4
-rw-r--r--protocols/twitter/twitter.c4
-rw-r--r--protocols/yahoo/libyahoo2.c2
-rw-r--r--protocols/yahoo/yahoo.c2
-rw-r--r--protocols/yahoo/yahoo2.h2
-rw-r--r--protocols/yahoo/yahoo2_callbacks.h2
-rw-r--r--protocols/yahoo/yahoo2_types.h2
-rw-r--r--protocols/yahoo/yahoo_debug.h2
-rw-r--r--protocols/yahoo/yahoo_httplib.c4
-rw-r--r--protocols/yahoo/yahoo_httplib.h2
-rw-r--r--protocols/yahoo/yahoo_list.h2
-rw-r--r--protocols/yahoo/yahoo_util.c2
-rw-r--r--protocols/yahoo/yahoo_util.h2
-rw-r--r--query.c4
-rw-r--r--query.h4
-rw-r--r--root_commands.c4
-rw-r--r--set.c6
-rw-r--r--set.h4
-rw-r--r--storage.c4
-rw-r--r--storage.h4
-rw-r--r--storage_xml.c4
-rw-r--r--unix.c4
92 files changed, 229 insertions, 230 deletions
diff --git a/COPYING b/COPYING
index d60c31a9..d159169d 100644
--- a/COPYING
+++ b/COPYING
@@ -1,12 +1,12 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
+the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
@@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
-
- GNU GENERAL PUBLIC LICENSE
+
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
-
+
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
-
+
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
-
+
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@@ -303,17 +303,16 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
- 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
-
+ 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.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
- Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
@@ -336,5 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
+library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
diff --git a/bitlbee.c b/bitlbee.c
index ca783cf6..90df135a 100644
--- a/bitlbee.c
+++ b/bitlbee.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/bitlbee.h b/bitlbee.h
index 9bbf3f8d..f0ca49b8 100644
--- a/bitlbee.h
+++ b/bitlbee.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 _BITLBEE_H
diff --git a/commands.h b/commands.h
index 03b4ee7f..0b03f977 100644
--- a/commands.h
+++ b/commands.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 _COMMANDS_H
diff --git a/conf.c b/conf.c
index 3592f769..aefcfe32 100644
--- a/conf.c
+++ b/conf.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 "bitlbee.h"
diff --git a/conf.h b/conf.h
index 7eca09c1..a88396f9 100644
--- a/conf.h
+++ b/conf.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 __CONF_H
diff --git a/dcc.c b/dcc.c
index 8fca9ac2..831567fe 100644
--- a/dcc.c
+++ b/dcc.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
@@ -522,7 +522,7 @@ file_transfer_t *dcc_request( struct im_connection *ic, char* const* ctcp )
filename = ctcp[2];
host = ctcp[3];
- while( *host && isdigit( *host ) ) host++; /* Just digits? */
+ while( *host && g_ascii_isdigit( *host ) ) host++; /* Just digits? */
if( *host == '\0' )
{
struct in_addr ipaddr = { .s_addr = htonl( atoll( ctcp[3] ) ) };
diff --git a/dcc.h b/dcc.h
index f3e7aa98..a0243e27 100644
--- a/dcc.h
+++ b/dcc.h
@@ -18,8 +18,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
*/
/*
diff --git a/help.c b/help.c
index 7ae0c61d..3bedf08f 100644
--- a/help.c
+++ b/help.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/help.h b/help.h
index 9f4d1572..6f860dd6 100644
--- a/help.h
+++ b/help.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 _HELP_H
diff --git a/ipc.c b/ipc.c
index 4c8d1431..65b89498 100644
--- a/ipc.c
+++ b/ipc.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/ipc.h b/ipc.h
index 3e71a070..569ea112 100644
--- a/ipc.h
+++ b/ipc.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
*/
#define BITLBEE_CORE
diff --git a/irc.c b/irc.c
index f864e31b..9cebc094 100644
--- a/irc.c
+++ b/irc.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 "bitlbee.h"
diff --git a/irc.h b/irc.h
index 39cf178c..29dd88fd 100644
--- a/irc.h
+++ b/irc.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 _IRC_H
diff --git a/irc_channel.c b/irc_channel.c
index 88aecce6..0a6e11d2 100644
--- a/irc_channel.c
+++ b/irc_channel.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 "bitlbee.h"
@@ -574,7 +574,7 @@ static gboolean control_channel_privmsg( irc_channel_t *ic, const char *msg )
const char *s;
/* Scan for non-whitespace chars followed by a colon: */
- for( s = msg; *s && !isspace( *s ) && *s != ':' && *s != ','; s ++ ) {}
+ for( s = msg; *s && !g_ascii_isspace( *s ) && *s != ':' && *s != ','; s ++ ) {}
if( *s == ':' || *s == ',' )
{
@@ -582,7 +582,7 @@ static gboolean control_channel_privmsg( irc_channel_t *ic, const char *msg )
memset( to, 0, sizeof( to ) );
strncpy( to, msg, s - msg );
- while( *(++s) && isspace( *s ) ) {}
+ while( *(++s) && g_ascii_isspace( *s ) ) {}
msg = s;
if( !( iu = irc_user_by_name( irc, to ) ) )
diff --git a/irc_commands.c b/irc_commands.c
index 73b781fc..743fb417 100644
--- a/irc_commands.c
+++ b/irc_commands.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/irc_im.c b/irc_im.c
index 6e6a0e25..c9f0efbc 100644
--- a/irc_im.c
+++ b/irc_im.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 "bitlbee.h"
@@ -72,7 +72,7 @@ static gboolean bee_irc_user_new( bee_t *bee, bee_user_t *bu )
else
{
char *s;
- for( s = bu->ic->acc->tag; isalnum( *s ); s ++ );
+ for( s = bu->ic->acc->tag; g_ascii_isalnum( *s ); s ++ );
/* Only use the tag if we got to the end of the string.
(So allow alphanumerics only. Hopefully not too
restrictive.) */
@@ -315,7 +315,7 @@ static gboolean bee_irc_user_fullname( bee_t *bee, bee_user_t *bu )
/* Strip newlines (unlikely, but IRC-unfriendly so they must go)
TODO(wilmer): Do the same with away msgs again! */
for( s = iu->fullname; *s; s ++ )
- if( isspace( *s ) ) *s = ' ';
+ if( g_ascii_isspace( *s ) ) *s = ' ';
if( ( bu->ic->flags & OPT_LOGGED_IN ) && set_getbool( &bee->set, "display_namechanges" ) )
{
diff --git a/irc_send.c b/irc_send.c
index ccf2a37f..8071f115 100644
--- a/irc_send.c
+++ b/irc_send.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 "bitlbee.h"
diff --git a/irc_user.c b/irc_user.c
index 94dcf4aa..ecfaf4ac 100644
--- a/irc_user.c
+++ b/irc_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
*/
#include "bitlbee.h"
diff --git a/irc_util.c b/irc_util.c
index f664a835..f4581a08 100644
--- a/irc_util.c
+++ b/irc_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 "bitlbee.h"
@@ -41,9 +41,9 @@ char *set_eval_timezone( set_t *set, char *value )
s ++;
/* \d+ */
- if( !isdigit( *s ) )
+ if( !g_ascii_isdigit( *s ) )
return SET_INVALID;
- while( *s && isdigit( *s ) ) s ++;
+ while( *s && g_ascii_isdigit( *s ) ) s ++;
/* EOS? */
if( *s == '\0' )
@@ -55,9 +55,9 @@ char *set_eval_timezone( set_t *set, char *value )
s ++;
/* \d+ */
- if( !isdigit( *s ) )
+ if( !g_ascii_isdigit( *s ) )
return SET_INVALID;
- while( *s && isdigit( *s ) ) s ++;
+ while( *s && g_ascii_isdigit( *s ) ) s ++;
/* EOS */
return *s == '\0' ? value : SET_INVALID;
diff --git a/lib/events.h b/lib/events.h
index e31ddba4..0446aa0f 100644
--- a/lib/events.h
+++ b/lib/events.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/lib/events_glib.c b/lib/events_glib.c
index 369d47f2..c6bb3d9e 100644
--- a/lib/events_glib.c
+++ b/lib/events_glib.c
@@ -21,8 +21,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/lib/events_libevent.c b/lib/events_libevent.c
index 43d770ea..cf4eee8f 100644
--- a/lib/events_libevent.c
+++ b/lib/events_libevent.c
@@ -21,8 +21,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/lib/http_client.c b/lib/http_client.c
index 590b8143..2481997a 100644
--- a/lib/http_client.c
+++ b/lib/http_client.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 <string.h>
@@ -344,12 +344,12 @@ static http_ret_t http_process_chunked_data( struct http_request *req, const cha
/* Might be a \r\n from the last chunk. */
s = chunk;
- while( isspace( *s ) )
+ while( g_ascii_isspace( *s ) )
s ++;
/* Chunk length. Might be incomplete. */
if( s < eos && sscanf( s, "%x", &clen ) != 1 )
return CR_ERROR;
- while( isxdigit( *s ) )
+ while( g_ascii_isxdigit( *s ) )
s ++;
/* If we read anything here, it *must* be \r\n. */
diff --git a/lib/http_client.h b/lib/http_client.h
index 1b86f228..99add28f 100644
--- a/lib/http_client.h
+++ b/lib/http_client.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
*/
/* http_client allows you to talk (asynchronously, again) to HTTP servers.
diff --git a/lib/ini.c b/lib/ini.c
index aa291bb2..3819e3da 100644
--- a/lib/ini.c
+++ b/lib/ini.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
#include "bitlbee.h"
@@ -62,11 +62,11 @@ static char *ini_strip_whitespace( char *in )
{
char *e;
- while( isspace( *in ) )
+ while( g_ascii_isspace( *in ) )
in++;
e = in + strlen( in ) - 1;
- while( e > in && isspace( *e ) )
+ while( e > in && g_ascii_isspace( *e ) )
e--;
e[1] = 0;
diff --git a/lib/ini.h b/lib/ini.h
index 6ae0bde5..290b8cc9 100644
--- a/lib/ini.h
+++ b/lib/ini.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 _INI_H
diff --git a/lib/json.c b/lib/json.c
index 91f38ad4..2e0c50c1 100644
--- a/lib/json.c
+++ b/lib/json.c
@@ -52,7 +52,7 @@ typedef unsigned int json_uchar;
static unsigned char hex_value (json_char c)
{
- if (isdigit(c))
+ if (g_ascii_isdigit(c))
return c - '0';
switch (c) {
@@ -608,14 +608,14 @@ json_value * json_parse_ex (json_settings * settings,
default:
- if (isdigit (b) || b == '-')
+ if (g_ascii_isdigit (b) || b == '-')
{
if (!new_value (&state, &top, &root, &alloc, json_integer))
goto e_alloc_failure;
if (!state.first_pass)
{
- while (isdigit (b) || b == '+' || b == '-'
+ while (g_ascii_isdigit (b) || b == '+' || b == '-'
|| b == 'e' || b == 'E' || b == '.')
{
if ( (++ i) == end)
@@ -705,7 +705,7 @@ json_value * json_parse_ex (json_settings * settings,
case json_integer:
case json_double:
- if (isdigit (b))
+ if (g_ascii_isdigit (b))
{
++ num_digits;
diff --git a/lib/misc.c b/lib/misc.c
index 6ceb6f3c..02b1814c 100644
--- a/lib/misc.c
+++ b/lib/misc.c
@@ -26,8 +26,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
@@ -162,7 +162,7 @@ void strip_html( char *in )
while( *in )
{
- if( *in == '<' && ( isalpha( *(in+1) ) || *(in+1) == '/' ) )
+ if( *in == '<' && ( g_ascii_isalpha( *(in+1) ) || *(in+1) == '/' ) )
{
/* If in points at a < and in+1 points at a letter or a slash, this is probably
a HTML-tag. Try to find a closing > and continue there. If the > can't be
@@ -197,7 +197,7 @@ void strip_html( char *in )
else if( *in == '&' )
{
cs = ++in;
- while( *in && isalpha( *in ) )
+ while( *in && g_ascii_isalpha( *in ) )
in ++;
if( *in == ';' ) in ++;
@@ -313,7 +313,7 @@ void http_encode( char *s )
strcpy( t, s );
for( i = j = 0; t[i]; i ++, j ++ )
{
- /* Warning: isalnum() is locale-aware, so don't use it here! */
+ /* Warning: g_ascii_isalnum() is locale-aware, so don't use it here! */
if( ( t[i] >= 'A' && t[i] <= 'Z' ) ||
( t[i] >= 'a' && t[i] <= 'z' ) ||
( t[i] >= '0' && t[i] <= '9' ) ||
@@ -489,7 +489,7 @@ int is_bool( char *value )
return 1;
while( *value )
- if( !isdigit( *value ) )
+ if( !g_ascii_isdigit( *value ) )
return 0;
else
value ++;
diff --git a/lib/misc.h b/lib/misc.h
index 460cce8c..d8cce32b 100644
--- a/lib/misc.h
+++ b/lib/misc.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 _MISC_H
diff --git a/lib/proxy.c b/lib/proxy.c
index 6ada4917..86bb0dcc 100644
--- a/lib/proxy.c
+++ b/lib/proxy.c
@@ -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/lib/proxy.h b/lib/proxy.h
index b3be0a66..b84b37ff 100644
--- a/lib/proxy.h
+++ b/lib/proxy.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/lib/ssl_client.h b/lib/ssl_client.h
index 206fe9cb..d23d21f0 100644
--- a/lib/ssl_client.h
+++ b/lib/ssl_client.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
*/
/* ssl_client makes it easier to open SSL connections to servers. (It
diff --git a/lib/ssl_gnutls.c b/lib/ssl_gnutls.c
index f6bdd6b2..fade7de2 100644
--- a/lib/ssl_gnutls.c
+++ b/lib/ssl_gnutls.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 <gnutls/gnutls.h>
@@ -317,7 +317,7 @@ static gboolean ssl_connected( gpointer data, gint source, b_input_condition con
#endif
gnutls_set_default_priority( conn->session );
gnutls_credentials_set( conn->session, GNUTLS_CRD_CERTIFICATE, xcred );
- if( conn->hostname && !isdigit( conn->hostname[0] ) )
+ if( conn->hostname && !g_ascii_isdigit( conn->hostname[0] ) )
gnutls_server_name_set( conn->session, GNUTLS_NAME_DNS,
conn->hostname, strlen( conn->hostname ) );
diff --git a/lib/ssl_nss.c b/lib/ssl_nss.c
index 045cd322..00a574f7 100644
--- a/lib/ssl_nss.c
+++ b/lib/ssl_nss.c
@@ -21,8 +21,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/lib/ssl_openssl.c b/lib/ssl_openssl.c
index 3486f044..63937380 100644
--- a/lib/ssl_openssl.c
+++ b/lib/ssl_openssl.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 <openssl/crypto.h>
@@ -158,7 +158,7 @@ static gboolean ssl_connected( gpointer data, gint source, b_input_condition con
sock_make_nonblocking( conn->fd );
SSL_set_fd( conn->ssl, conn->fd );
- if( conn->hostname && !isdigit( conn->hostname[0] ) )
+ if( conn->hostname && !g_ascii_isdigit( conn->hostname[0] ) )
SSL_set_tlsext_host_name( conn->ssl, conn->hostname );
return ssl_handshake( data, source, cond );
diff --git a/lib/url.c b/lib/url.c
index 9e330f8c..1c7ff656 100644
--- a/lib/url.c
+++ b/lib/url.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 "url.h"
diff --git a/lib/url.h b/lib/url.h
index 55107ad2..d49d3365 100644
--- a/lib/url.h
+++ b/lib/url.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
*/
#include "bitlbee.h"
diff --git a/log.c b/log.c
index f6f9ab2b..ff25c2e2 100644
--- a/log.c
+++ b/log.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/log.h b/log.h
index b651416b..fdb94ae8 100644
--- a/log.h
+++ b/log.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 _LOG_H
diff --git a/nick.c b/nick.c
index f780341f..63140042 100644
--- a/nick.c
+++ b/nick.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
@@ -40,7 +40,7 @@ static char *clean_handle( const char *orig )
do {
if (*orig != ' ')
- new[i++] = tolower( *orig );
+ new[i++] = g_ascii_tolower( *orig );
}
while (*(orig++));
@@ -143,11 +143,11 @@ char *nick_gen( bee_user_t *bu )
}
fmt += 2;
}
- else if( isdigit( *fmt ) )
+ else if( g_ascii_isdigit( *fmt ) )
{
len = 0;
/* Grab a number. */
- while( isdigit( *fmt ) )
+ while( g_ascii_isdigit( *fmt ) )
len = len * 10 + ( *(fmt++) - '0' );
}
else if( g_strncasecmp( fmt, "nick", 4 ) == 0 )
@@ -330,7 +330,7 @@ void nick_strip( irc_t *irc, char *nick )
}
}
}
- if( isdigit( nick[0] ) )
+ if( g_ascii_isdigit( nick[0] ) )
{
char *orig;
@@ -350,7 +350,7 @@ gboolean nick_ok( irc_t *irc, const char *nick )
const char *s;
/* Empty/long nicks are not allowed, nor numbers at [0] */
- if( !*nick || isdigit( nick[0] ) || strlen( nick ) > MAX_NICK_LENGTH )
+ if( !*nick || g_ascii_isdigit( nick[0] ) || strlen( nick ) > MAX_NICK_LENGTH )
return 0;
if( irc && ( irc->status & IRC_UTF8_NICKS ) )
diff --git a/nick.h b/nick.h
index 20edb845..870551ca 100644
--- a/nick.h
+++ b/nick.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
*/
void nick_set_raw( account_t *acc, const char *handle, const char *nick );
diff --git a/otr.c b/otr.c
index 318f9f13..cff0f209 100644
--- a/otr.c
+++ b/otr.c
@@ -35,8 +35,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"
@@ -1469,7 +1469,7 @@ irc_user_t *peeruser(irc_t *irc, const char *handle, const char *protocol)
int hexval(char a)
{
- int x=tolower(a);
+ int x=g_ascii_tolower(a);
if(x>='a' && x<='f')
x = x - 'a' + 10;
@@ -1556,7 +1556,7 @@ Fingerprint *match_fingerprint(irc_t *irc, ConnContext *ctx, const char **args)
p=prefix;
for(i=0; args[i]; i++) {
for(j=0; args[i][j]; j++) {
- char c = toupper(args[i][j]);
+ char c = g_ascii_toupper(args[i][j]);
if(n>=40) {
irc_rootmsg(irc, "too many fingerprint digits given, expected at most 40");
@@ -1620,7 +1620,7 @@ OtrlPrivKey *match_privkey(irc_t *irc, const char **args)
p=prefix;
for(i=0; args[i]; i++) {
for(j=0; args[i][j]; j++) {
- char c = toupper(args[i][j]);
+ char c = g_ascii_toupper(args[i][j]);
if(n>=40) {
irc_rootmsg(irc, "too many fingerprint digits given, expected at most 40");
diff --git a/otr.h b/otr.h
index 3962097e..bf9fb72a 100644
--- a/otr.h
+++ b/otr.h
@@ -24,8 +24,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 BITLBEE_PROTOCOLS_OTR_H
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
*
*/
diff --git a/query.c b/query.c
index aa03b8b5..61e7f356 100644
--- a/query.c
+++ b/query.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/query.h b/query.h
index f0419573..d1877954 100644
--- a/query.h
+++ b/query.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 _QUERY_H
diff --git a/root_commands.c b/root_commands.c
index 6b8add80..1fa2d0ad 100644
--- a/root_commands.c
+++ b/root_commands.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/set.c b/set.c
index 537143f7..00e4bc81 100644
--- a/set.c
+++ b/set.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
@@ -225,7 +225,7 @@ char *set_eval_int( set_t *set, char *value )
s ++;
for( ; *s; s ++ )
- if( !isdigit( *s ) )
+ if( !g_ascii_isdigit( *s ) )
return SET_INVALID;
return value;
diff --git a/set.h b/set.h
index 2a3ce4d1..f5d44f91 100644
--- a/set.h
+++ b/set.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 __SET_H__
diff --git a/storage.c b/storage.c
index cb6814c4..84de97bc 100644
--- a/storage.c
+++ b/storage.c
@@ -21,8 +21,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/storage.h b/storage.h
index 994851eb..01df9e41 100644
--- a/storage.h
+++ b/storage.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 __STORAGE_H__
diff --git a/storage_xml.c b/storage_xml.c
index ddd09938..553929e1 100644
--- a/storage_xml.c
+++ b/storage_xml.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/unix.c b/unix.c
index bbaddc81..e1ebb19d 100644
--- a/unix.c
+++ b/unix.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 "bitlbee.h"