aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapps/app_agi.c2
-rwxr-xr-xchannels/chan_modem.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/app_agi.c b/apps/app_agi.c
index 8ca56f42a..2dc6981d4 100755
--- a/apps/app_agi.c
+++ b/apps/app_agi.c
@@ -169,7 +169,7 @@ static int launch_script(char *script, char *args, int *fds, int *efd, int *opid
close(fromast[0]);
// [PHM 12/18/03]
- close(audio[0])
+ close(audio[0]);
*opid = pid;
return 0;
diff --git a/channels/chan_modem.c b/channels/chan_modem.c
index 48571af3e..09451decd 100755
--- a/channels/chan_modem.c
+++ b/channels/chan_modem.c
@@ -614,7 +614,8 @@ static void *do_monitor(void *data)
pthread_testcancel();
/* Okay, select has finished. Let's see what happened. */
if (res < 1) {
- ast_log(LOG_WARNING, "select return %d: %s\n", res, strerror(errno));
+ if ((errno != EINTR) && (errno != EAGAIN))
+ ast_log(LOG_WARNING, "select return %d: %s\n", res, strerror(errno));
continue;
}
/* Alright, lock the interface list again, and let's look and see what has