about summary refs log tree commit diff
path: root/Src/module.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-07-17 07:01:55 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-07-17 07:01:55 +0000
commit6ad26558025b82fee66ed73c83950438cea6c3a0 (patch)
treeb91e83253cb87aadba03bcd99477f311012336d4 /Src/module.c
parent71f659dc00e304151b321b9249efa014b6faf883 (diff)
downloadzsh-6ad26558025b82fee66ed73c83950438cea6c3a0.tar.gz
zsh-6ad26558025b82fee66ed73c83950438cea6c3a0.tar.xz
zsh-6ad26558025b82fee66ed73c83950438cea6c3a0.zip
23682: module field renaming missed from 23665
Diffstat (limited to 'Src/module.c')
-rw-r--r--Src/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/module.c b/Src/module.c
index 765f7c941..c3785e609 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -1744,12 +1744,12 @@ module_func(Module m, char *name)
 #ifdef DYNAMIC_NAME_CLASH_OK
     return (Module_generic_func) dlsym(m->u.handle, name);
 #else /* !DYNAMIC_NAME_CLASH_OK */
-    VARARR(char, buf, strlen(name) + strlen(m->nam)*2 + 1);
+    VARARR(char, buf, strlen(name) + strlen(m->node.nam)*2 + 1);
     char const *p;
     char *q;
     strcpy(buf, name);
     q = strchr(buf, 0);
-    for(p = m->nam; *p; p++) {
+    for(p = m->node.nam; *p; p++) {
 	if(*p == '/') {
 	    *q++ = 'Q';
 	    *q++ = 's';