projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a0cde3
)
get the previous struct keep_sigact
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 7 Nov 2001 12:56:13 +0000
(12:56 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 7 Nov 2001 12:56:13 +0000
(12:56 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index 5810e859b76f1de0ed95f3bb6bf4b6a0a571424e..31e1459ca787fd0072ef2d7a24f5347a94ba219c 100644
(file)
--- 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! */