aboutsummaryrefslogtreecommitdiff
path: root/lvm.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 /lvm.c
parentbda83e22c0ab3e6fffbf0a71e5e4a5869da8f6ab (diff)
downloadlua-ee5edb6b680589805c8fc348f6a7566c2bd8735d.tar.gz
lua-ee5edb6b680589805c8fc348f6a7566c2bd8735d.tar.bz2
lua-ee5edb6b680589805c8fc348f6a7566c2bd8735d.zip
macros 'getaddrstr' and 'getstr' unified (they do the same thing)
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 25dc40f2..0e01ba84 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.251 2015/09/08 15:41:05 roberto Exp roberto $ 2** $Id: lvm.c,v 2.252 2015/09/09 13:44:07 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -487,7 +487,7 @@ void luaV_concat (lua_State *L, int total) {
487 } 487 }
488 else { /* long string; copy strings directly to final result */ 488 else { /* long string; copy strings directly to final result */
489 ts = luaS_createlngstrobj(L, tl); 489 ts = luaS_createlngstrobj(L, tl);
490 copy2buff(top, n, getaddrstr(ts)); 490 copy2buff(top, n, getstr(ts));
491 } 491 }
492 setsvalue2s(L, top - n, ts); /* create result */ 492 setsvalue2s(L, top - n, ts); /* create result */
493 } 493 }