This commit is contained in:
jl777
2019-03-06 00:19:12 -11:00
parent dbb33e6949
commit ead3aefd44
2 changed files with 2 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ int32_t numptrs;
int32_t thing_find(THING *ptr)
{
int32_t i;
for (i=0; i<numptrs; i++)
if ( item == thingptrs[i] )
return(i);

View File

@@ -775,7 +775,7 @@ void rogue_progress(struct rogue_state *rs,int32_t waitflag,uint64_t seed,char *
if ( (keys= jstr(retjson,"keystrokes")) != 0 )
{
len = strlen(keys) / 2;
pastcmp = (char *)malloc(len + 1)
pastcmp = (char *)malloc(len + 1);
decode_hex(pastcmp,len,keys);
if ( len != numpastkeys || memcmp(pastcmp,pastkeys,len) != 0 )
{