diff options
author | Eric Wong <mwrap-perl@80x24.org> | 2022-12-16 22:57:53 +0000 |
---|---|---|
committer | Eric Wong <mwrap-perl@80x24.org> | 2022-12-16 22:58:17 +0000 |
commit | 4db2dadf3881ed18eefdc8fb78237b5fca4c3e78 (patch) | |
tree | bc48ddbcc3ad80c3255790cf9b44fd15a230626c /mwrap_core.h | |
parent | d0d47aa3c0b4ea80f778b7fde117209c66cd68dd (diff) | |
download | mwrap-4db2dadf3881ed18eefdc8fb78237b5fca4c3e78.tar.gz |
Lets try not to leave stale sockets lying around since they can eat away at inode space.
Diffstat (limited to 'mwrap_core.h')
-rw-r--r-- | mwrap_core.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mwrap_core.h b/mwrap_core.h index 9e4f065..7681ca5 100644 --- a/mwrap_core.h +++ b/mwrap_core.h @@ -843,8 +843,7 @@ static struct src_loc *src_loc_lookup(const char *str, size_t len) # define O_CLOEXEC 0 #endif static void h1d_atexit(void); -__attribute__ ((destructor)) -static void dump_destructor(void) +__attribute__ ((destructor)) static void mwrap_dtor(void) { const char *opt = getenv("MWRAP"); const char *modes[] = { "a", "a+", "w", "w+", "r+" }; |