summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rmd_register_callbacks.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/rmd_register_callbacks.c b/src/rmd_register_callbacks.c
index a359297..5ef8596 100644
--- a/src/rmd_register_callbacks.c
+++ b/src/rmd_register_callbacks.c
@@ -47,14 +47,10 @@ static void rmdSetPaused(int signum)
static void rmdSetRunning(int signum)
{
- if (!*pdata_paused) {
+ *pdata_running = FALSE;
- *pdata_running = FALSE;
-
- if (signum == SIGABRT) {
- *pdata_aborted = TRUE;
- }
- }
+ if (signum == SIGABRT)
+ *pdata_aborted = TRUE;
}
void rmdRegisterCallbacks(ProgData *pdata)
© All Rights Reserved