aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-11-04 06:58:29 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-11-04 06:58:29 +0800
commit0d78f798da6974a4e8d7c591f105438beb4015a2 (patch)
tree21b6c43d769a393ddf3d4ca4393a6bea6106c268 /composer/e-msg-composer-attachment.c
parent3c3b702d1f80cb05db741ba65bfd27d82d5d7104 (diff)
downloadgsoc2013-evolution-0d78f798da6974a4e8d7c591f105438beb4015a2.tar
gsoc2013-evolution-0d78f798da6974a4e8d7c591f105438beb4015a2.tar.gz
gsoc2013-evolution-0d78f798da6974a4e8d7c591f105438beb4015a2.tar.bz2
gsoc2013-evolution-0d78f798da6974a4e8d7c591f105438beb4015a2.tar.lz
gsoc2013-evolution-0d78f798da6974a4e8d7c591f105438beb4015a2.tar.xz
gsoc2013-evolution-0d78f798da6974a4e8d7c591f105438beb4015a2.tar.zst
gsoc2013-evolution-0d78f798da6974a4e8d7c591f105438beb4015a2.zip
oops, return NULL not void
svn path=/trunk/; revision=6385
Diffstat (limited to 'composer/e-msg-composer-attachment.c')
-rw-r--r--composer/e-msg-composer-attachment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c
index bd9ae43b3b..b42631cda6 100644
--- a/composer/e-msg-composer-attachment.c
+++ b/composer/e-msg-composer-attachment.c
@@ -177,11 +177,11 @@ e_msg_composer_attachment_new (const gchar *file_name)
g_return_val_if_fail (file_name != NULL, NULL);
if (stat (file_name, &statbuf) < 0)
- return;
+ return NULL;
/* return if it's not a regular file */
if (!S_ISREG (statbuf.st_dev))
- return;
+ return NULL;
stream = camel_stream_fs_new_with_name (file_name, O_RDONLY, 0);
if (!stream)