~ubuntu-branches/ubuntu/saucy/irssi-plugin-xmpp/saucy-proposed

« back to all changes in this revision

Viewing changes to src/core/xep/muc.c

  • Committer: Package Import Robot
  • Author(s): Florian Schlichting
  • Date: 2013-05-06 00:03:37 UTC
  • Revision ID: package-import@ubuntu.com-20130506000337-ley5l662b8a76qbm
Tags: 0.52-2
* Added hardening.patch to actually use the dpkg-buildflags.
* Dropped version on irssi(-dev) dependency
* Email change: Florian Schlichting -> fsfs@debian.org
* Patches plucked from upstream CVS:
  + kill-the-stroneline-function (closes: #693079)
  + fix-crash-on-empty-resource
  + replace-deprecated-g_strncasecmp

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: muc.c,v 1.10 2010/07/14 16:07:13 cdidier Exp $
 
2
 * $Id: muc.c,v 1.11 2013/02/25 16:30:35 cdidier Exp $
3
3
 *
4
4
 * Copyright (C) 2007,2008,2009 Colin DIDIER
5
5
 *
263
263
                channel = tmp->data;
264
264
                if (channel->chat_type != server->chat_type)
265
265
                        continue;
266
 
                if (g_strcasecmp(channel_name, channel->name) == 0)
 
266
                if (g_ascii_strcasecmp(channel_name, channel->name) == 0)
267
267
                        return channel;
268
268
        }
269
269
        return NULL;