projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Coverity fixes
[claws.git]
/
src
/
crash.c
diff --git
a/src/crash.c
b/src/crash.c
index 5f3eaa9924d5b401d66c107169b931443ce76f4a..d3c5022af0558494781a01cd7c089d8c6182f720 100644
(file)
--- a/
src/crash.c
+++ b/
src/crash.c
@@
-333,7
+333,10
@@
static void crash_debug(unsigned long crash_pid,
int choutput[2];
pid_t pid;
- pipe(choutput);
+ if (pipe(choutput) == -1) {
+ g_print("can't pipe - error %s", errno);
+ return;
+ }
if (0 == (pid = fork())) {
char *argp[10];