diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-10-05 02:10:44 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-10-05 02:10:44 +0800 |
commit | a57815af6b1c0c3d0548fa1492f3c061018457fe (patch) | |
tree | 1cdd328e25af658f01256bf739ec86c171501794 /composer/e-msg-composer.c | |
parent | ee7399c9de5be4e925500daddd85318820327e00 (diff) | |
download | gsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.tar.gz gsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.tar.zst gsoc2013-evolution-a57815af6b1c0c3d0548fa1492f3c061018457fe.zip |
Don't create a new file if the file doesn't exist.
2002-10-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (get_file_content): Don't create a new file if
the file doesn't exist.
svn path=/trunk/; revision=18325
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 4ed027b41b..650d19497e 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -779,7 +779,7 @@ get_file_content (EMsgComposer *composer, const char *file_name, gboolean want_h char *content; int fd; - fd = open (file_name, O_RDONLY | O_CREAT, 0644); + fd = open (file_name, O_RDONLY); if (fd == -1) { char *msg; |