Prefer dynamically allocated buffers to fixed-size ones, use the same
[claws.git] / src / textview.c
index b73071f071f83d5bafbba0d16ec2077627339740..7372a1c21ceed9fea7b0d93ce0904892a7173f35 100644 (file)
@@ -1141,6 +1141,7 @@ static void textview_write_body(TextView *textview, MimeInfo *mimeinfo)
                        close(pfd[0]);
                        rc = dup(pfd[1]);
                        rc = execvp(argv[0], argv);
+                       perror("execvp");
                        close(pfd[1]);
                        g_print(_("The command to view attachment "
                                "as text failed:\n"