# HG changeset patch # User Stu Tomlinson # Date 1133920051 0 # Node ID 29e237c4141b78ab277efd275a2356b537f5ff69 # Parent 553dd80f6130690d2fe1329b9bf32c6b887ab5e0 [gaim-migrate @ 14685] g_strdup(NULL) returns NULL, so this is neater, and should be just as safe as before committer: Tailor Script diff -r 553dd80f6130 -r 29e237c4141b src/protocols/msn/userlist.c --- a/src/protocols/msn/userlist.c Wed Dec 07 01:32:19 2005 +0000 +++ b/src/protocols/msn/userlist.c Wed Dec 07 01:47:31 2005 +0000 @@ -87,7 +87,7 @@ pa = g_new0(MsnPermitAdd, 1); pa->who = g_strdup(passport); - pa->friendly = (friendly != NULL) ? g_strdup(friendly) : NULL; + pa->friendly = g_strdup(friendly); pa->gc = gc; if (friendly != NULL)