diff options
Diffstat (limited to 'otr.c')
-rw-r--r-- | otr.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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"); |