aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2004-04-29 00:09:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-29 00:09:24 +0800
commit864eac674df583c134969fd504a6e26b425d68f5 (patch)
tree638a94b229cb49560aa9e225011d5fd1a2493145 /mail
parentacc87591ac46016d417acb6b371a38fd1f3127ee (diff)
downloadgsoc2013-evolution-864eac674df583c134969fd504a6e26b425d68f5.tar.gz
gsoc2013-evolution-864eac674df583c134969fd504a6e26b425d68f5.tar.zst
gsoc2013-evolution-864eac674df583c134969fd504a6e26b425d68f5.zip
check stat == 0
svn path=/trunk/; revision=25669
Diffstat (limited to 'mail')
-rw-r--r--mail/em-composer-prefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c
index b5193900ed..3e5d7c930e 100644
--- a/mail/em-composer-prefs.c
+++ b/mail/em-composer-prefs.c
@@ -369,7 +369,7 @@ sig_add_script_response (GtkWidget *widget, int button, EMComposerPrefs *prefs)
if (script && *script && g_shell_parse_argv (script, &argc, &argv, NULL)) {
struct stat st;
- if (stat (argv[0], &st) && S_ISREG (st.st_mode) && access (argv[0], X_OK) == 0) {
+ if (stat (argv[0], &st) == 0 && S_ISREG (st.st_mode) && access (argv[0], X_OK) == 0) {
GtkWidget *parent;
ESignature *sig;