Revision: 16893
Author: thekingant
Date: 2006-08-19 14:41:25 -0700 (Sat, 19 Aug 2006)
ViewCVS: http://svn.sourceforge.net/gaim/?rev=16893&view=rev
Log Message:
-----------
Eradicate two compile warnings
Modified Paths:
--------------
trunk/libgaim/privacy.c
Modified: trunk/libgaim/privacy.c
===================================================================
--- trunk/libgaim/privacy.c 2006-08-19 20:52:43 UTC (rev 16892)
+++ trunk/libgaim/privacy.c 2006-08-19 21:41:25 UTC (rev 16893)
@@ -76,7 +76,7 @@
gboolean local_only)
{
GSList *l;
- char *name;
+ const char *name;
GaimBuddy *buddy;
g_return_val_if_fail(account != NULL, FALSE);
@@ -158,20 +158,21 @@
gboolean local_only)
{
GSList *l;
+ const char *normalized;
char *name;
GaimBuddy *buddy;
g_return_val_if_fail(account != NULL, FALSE);
g_return_val_if_fail(who != NULL, FALSE);
- name = gaim_normalize(account, who);
+ normalized = gaim_normalize(account, who);
for (l = account->deny; l != NULL; l = l->next) {
- if (!gaim_utf8_strcasecmp(name, (char *)l->data))
+ if (!gaim_utf8_strcasecmp(normalized, (char *)l->data))
break;
}
- buddy = gaim_find_buddy(account, name);
+ buddy = gaim_find_buddy(account, normalized);
if (l == NULL)
return FALSE;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|