mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-23 04:34:33 +02:00
*** empty log message ***
git-svn-id: file:///var/svn/lua-iconv/trunk@13 9538949d-8f27-0410-946f-ce01ef448559
This commit is contained in:
parent
d8da3e7385
commit
e301c6a068
@ -99,7 +99,7 @@ static int Liconv(lua_State *L)
|
|||||||
char *inbuf = (char*) getstring(L, 2);
|
char *inbuf = (char*) getstring(L, 2);
|
||||||
char *outbuf;
|
char *outbuf;
|
||||||
char *outbufs;
|
char *outbufs;
|
||||||
size_t obsize = ibleft; /* Try to avoid concatenations on stack */
|
size_t obsize = (ibleft > 256) ? ibleft : 256;
|
||||||
size_t obleft = obsize;
|
size_t obleft = obsize;
|
||||||
size_t ret = -1;
|
size_t ret = -1;
|
||||||
int hasone = 0;
|
int hasone = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user