aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-11-07 12:56:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-11-07 12:56:13 +0000
commit1a984ea84771a85df08f6a97e7cbac3ce379743e (patch)
tree3bd6130954526969a3130b9ba15c68543db3c94a /lib
parent2a0cde30419987394bcf15eea5eecbbf0f9c759f (diff)
get the previous struct keep_sigact
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 5810e859b..31e1459ca 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1930,6 +1930,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
#ifdef HAVE_SIGACTION
struct sigaction sigact;
sigaction(SIGALRM, NULL, &sigact);
+ keep_sigact = sigact;
sigact.sa_handler = alarmfunc;
#ifdef SA_RESTART
/* HPUX doesn't have SA_RESTART but defaults to that behaviour! */