summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-05-29 14:15:19 (GMT)
committerGuido van Rossum <guido@python.org>1996-05-29 14:15:19 (GMT)
commit1835c4f1b4bb31555e80dc651edee69d60a1ba82 (patch)
tree34cb61e6fb665e6e8b37337dca6597849b73f777 /Modules
parent3672aa2dcdd8898ff520aa3885f8444ac73a2b2c (diff)
downloadcpython-1835c4f1b4bb31555e80dc651edee69d60a1ba82.zip
cpython-1835c4f1b4bb31555e80dc651edee69d60a1ba82.tar.gz
cpython-1835c4f1b4bb31555e80dc651edee69d60a1ba82.tar.bz2
Use correct field of sigaction struct
Diffstat (limited to 'Modules')
-rw-r--r--Modules/signalmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 7bd1d06..c310024 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -265,7 +265,7 @@ initsignal()
#ifdef HAVE_SIGACTION
struct sigaction act;
sigaction(i, 0, &act);
- t = act.sa_flags;
+ t = act.sa_handler;
#else
t = signal(i, SIG_IGN);
signal(i, t);