projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use signed size parameter in quote_entry()
[apps/madmutt.git]
/
system.c
diff --git
a/system.c
b/system.c
index
af915de
..
2d96430
100644
(file)
--- a/
system.c
+++ b/
system.c
@@
-12,11
+12,9
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
-#ifdef USE_IMAP
-# include "imap.h"
-# include <errno.h>
-#endif
+#include <imap/imap.h>
+#include <errno.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
@@
-104,12
+102,7
@@
int _mutt_system (const char *cmd, int flags)
_exit (127); /* execl error */
}
else if (thepid != -1) {
_exit (127); /* execl error */
}
else if (thepid != -1) {
-#ifndef USE_IMAP
- /* wait for the (first) child process to finish */
- waitpid (thepid, &rc, 0);
-#else
rc = imap_wait_keepalive (thepid);
rc = imap_wait_keepalive (thepid);
-#endif
}
sigaction (SIGCONT, &oldcont, NULL);
}
sigaction (SIGCONT, &oldcont, NULL);