Mercurial > pidgin.yaz
comparison src/util.c @ 7110:b003397b16fe
[gaim-migrate @ 7676]
I know the string is NULL. I'm quite sick of hearing about it, thanks.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 01 Oct 2003 15:23:49 +0000 |
parents | 6faeeecab0dc |
children | 67f9b43c402a |
comparison
equal
deleted
inserted
replaced
7109:9d6f244e0605 | 7110:b003397b16fe |
---|---|
815 { | 815 { |
816 int i, j, k; | 816 int i, j, k; |
817 gboolean visible = TRUE; | 817 gboolean visible = TRUE; |
818 gchar *str2; | 818 gchar *str2; |
819 | 819 |
820 g_return_val_if_fail(str != NULL, NULL); | 820 if(!str) |
821 return NULL; | |
821 | 822 |
822 str2 = g_strdup(str); | 823 str2 = g_strdup(str); |
823 | 824 |
824 for (i = 0, j = 0; str2[i]; i++) | 825 for (i = 0, j = 0; str2[i]; i++) |
825 { | 826 { |