diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-06-04 16:27:11 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-06-04 16:27:11 +0400 |
commit | cfbc9780376c463a5977c455765d73f02102fee9 (patch) | |
tree | dfe58897c31616f4e01b4cb0c670ab27c3fc38ea | |
parent | 2e56893233560dfc6b3ad12eb8f75f50cb4c930f (diff) | |
download | accel-ppp-cfbc9780376c463a5977c455765d73f02102fee9.tar.gz accel-ppp-cfbc9780376c463a5977c455765d73f02102fee9.zip |
Revert "fdtrash: don't queue descriptors after context is closed (fix segfault when stopping accel-pppd)"
This reverts commit 2e56893233560dfc6b3ad12eb8f75f50cb4c930f.
-rw-r--r-- | accel-pppd/fdtrash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/accel-pppd/fdtrash.c b/accel-pppd/fdtrash.c index 218a075..c43de8d 100644 --- a/accel-pppd/fdtrash.c +++ b/accel-pppd/fdtrash.c @@ -19,8 +19,7 @@ static void __close(void *arg) void __export fdtrash_add(long fd) { - if (ctx.tpd) - triton_context_call(&ctx, (triton_event_func)__close, (void *)fd); + triton_context_call(&ctx, (triton_event_func)__close, (void *)fd); } static void init() |