summaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-09-17 12:51:05 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-09-17 12:51:05 -0300
commitee5edb6b680589805c8fc348f6a7566c2bd8735d (patch)
treeca0d801e40a0dcf98c4594bdaf97933193bfea71 /lundump.c
parentbda83e22c0ab3e6fffbf0a71e5e4a5869da8f6ab (diff)
downloadlua-github-ee5edb6b680589805c8fc348f6a7566c2bd8735d.tar.gz
macros 'getaddrstr' and 'getstr' unified (they do the same thing)
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lundump.c b/lundump.c
index 50c9f0fe..469308d7 100644
--- a/lundump.c
+++ b/lundump.c
@@ -1,5 +1,5 @@
/*
-** $Id: lundump.c,v 2.41 2014/11/02 19:19:04 roberto Exp roberto $
+** $Id: lundump.c,v 2.42 2015/09/08 15:41:05 roberto Exp roberto $
** load precompiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -98,7 +98,7 @@ static TString *LoadString (LoadState *S) {
}
else { /* long string */
TString *ts = luaS_createlngstrobj(S->L, size);
- LoadVector(S, getaddrstr(ts), size); /* load directly in final place */
+ LoadVector(S, getstr(ts), size); /* load directly in final place */
return ts;
}
}