aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVMiklos <vmiklos@frugalware.org>2007-08-20 23:14:52 +0200
committerVMiklos <vmiklos@frugalware.org>2007-08-20 23:14:52 +0200
commitcbec0d6b8cb68fdadaf938922d0062637c6c2e21 (patch)
tree07a5ed0fb834c080230bf67ef809d202751ee7b3
parent7e4f0ca1fedc2762aa1d2231e92b878f53fbecd3 (diff)
g_strdup_printf("%s" -> g_strdup(
-rw-r--r--skype/skype.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/skype/skype.c b/skype/skype.c
index e0e5901a..8d3f7f62 100644
--- a/skype/skype.c
+++ b/skype/skype.c
@@ -244,7 +244,7 @@ static int skype_buddy_msg( struct im_connection *ic, char *who, char *message,
char *buf, *ptr, *nick;
int st;
- nick = g_strdup_printf("%s", who);
+ nick = g_strdup(who);
ptr = strchr(nick, '@');
if(ptr)
*ptr = '\0';
@@ -277,7 +277,7 @@ static void skype_add_buddy( struct im_connection *ic, char *who, char *group )
{
char *buf, *nick, *ptr;
- nick = g_strdup_printf("%s", who);
+ nick = g_strdup(who);
ptr = strchr(nick, '@');
if(ptr)
*ptr = '\0';
@@ -291,7 +291,7 @@ static void skype_remove_buddy( struct im_connection *ic, char *who, char *group
{
char *buf, *nick, *ptr;
- nick = g_strdup_printf("%s", who);
+ nick = g_strdup(who);
ptr = strchr(nick, '@');
if(ptr)
*ptr = '\0';