summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--call/call.c13
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 0349f27..46c40ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,8 @@ ax25-apps (0.0.8)
* Fix grammar of bpqether log message.
* Support all standard baud rates from 50 to 4000000 bits per second
with ax25ipd.
+ * call: Do not exit when running in curses mode and the window is
+ resized.
ax25-apps (0.0.7)
* Added opentrac to listen, Thanks to Scott Miller
diff --git a/call/call.c b/call/call.c
index e6adbc7..f7a7770 100644
--- a/call/call.c
+++ b/call/call.c
@@ -1648,12 +1648,15 @@ int cmd_call(char *call[], int mode)
FD_SET(fd, &sock_write);
if (select(fd + 1, &sock_read, &sock_write, NULL, (uploadfile == -1 && downloadfile == -1 && inactivity_timeout_is_set == FALSE) ? NULL : &tv) == -1) {
- if (!interrupted && errno == EAGAIN) {
- usleep(100000);
- continue;
- }
- if (!interrupted)
+ if (!interrupted) {
+ if (errno == EINTR)
+ continue;
+ if (errno == EAGAIN) {
+ usleep(100000);
+ continue;
+ }
perror("select");
+ }
break;
}
if (inactivity_timeout_is_set == TRUE && !FD_ISSET(fd, &sock_read) && !FD_ISSET(STDIN_FILENO, &sock_read)) {