diff options
author | Parthasarathi Susarla <sparthasarathi@novell.com> | 2005-09-28 15:49:08 +0800 |
---|---|---|
committer | Parthasarathi Susarla <saps@src.gnome.org> | 2005-09-28 15:49:08 +0800 |
commit | 881b7938b5080a058fd02d003a4cdead5bb8877b (patch) | |
tree | 39196a52d3f6f32a8fda7f91f4a1709ad7747e71 /mail/em-vfolder-rule.c | |
parent | 994e17ee2203c09e6c057f5830dec513622406b9 (diff) | |
download | gsoc2013-evolution-881b7938b5080a058fd02d003a4cdead5bb8877b.tar.gz gsoc2013-evolution-881b7938b5080a058fd02d003a4cdead5bb8877b.tar.zst gsoc2013-evolution-881b7938b5080a058fd02d003a4cdead5bb8877b.zip |
See bug ** 317329 Do not add a NULL uri.
2005-09-28 Parthasarathi Susarla <sparthasarathi@novell.com>
See bug ** 317329
* em-vfolder-rule.c: (em_vfolder_rule_add_source):
Do not add a NULL uri.
svn path=/trunk/; revision=30382
Diffstat (limited to 'mail/em-vfolder-rule.c')
-rw-r--r-- | mail/em-vfolder-rule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c index 441717e8d5..885c6e0339 100644 --- a/mail/em-vfolder-rule.c +++ b/mail/em-vfolder-rule.c @@ -142,6 +142,7 @@ void em_vfolder_rule_add_source(EMVFolderRule *vr, const char *uri) { g_assert(EM_IS_VFOLDER_RULE(vr)); + g_return_if_fail (uri); vr->sources = g_list_append(vr->sources, g_strdup(uri)); |