about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/tcp.c2
-rw-r--r--Src/Zle/complete.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Src/Modules/tcp.c b/Src/Modules/tcp.c
index 86803e952..1bf9b3776 100644
--- a/Src/Modules/tcp.c
+++ b/Src/Modules/tcp.c
@@ -722,7 +722,7 @@ cleanup_(Module m)
 {
     tcp_cleanup();
     freelinklist(ztcp_sessions, (FreeFunc) ztcp_free_session);
-    return setfeatureeanbles(m->nam, &module_features, NULL);
+    return setfeatureenables(m->nam, &module_features, NULL);
 }
 
 /**/
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c
index aac760a92..7d8087052 100644
--- a/Src/Zle/complete.c
+++ b/Src/Zle/complete.c
@@ -1541,7 +1541,7 @@ cleanup_(Module m)
     deletehookfunc("invalidate_list", (Hookfn) invalidate_list);
     deletehookdefs(m->nam, comphooks, sizeof(comphooks)/sizeof(*comphooks));
     deletewrapper(m, wrapper);
-    return seteatureenables(m->nam, &module_features, NULL);
+    return setfeatureenables(m->nam, &module_features, NULL);
 }
 
 /**/