about summary refs log tree commit homepage
path: root/mwrap_core.h
diff options
context:
space:
mode:
authorEric Wong <mwrap-perl@80x24.org>2022-12-16 22:57:53 +0000
committerEric Wong <mwrap-perl@80x24.org>2022-12-16 22:58:17 +0000
commit4db2dadf3881ed18eefdc8fb78237b5fca4c3e78 (patch)
treebc48ddbcc3ad80c3255790cf9b44fd15a230626c /mwrap_core.h
parentd0d47aa3c0b4ea80f778b7fde117209c66cd68dd (diff)
downloadmwrap-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.h3
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+" };