This commit is contained in:
jl777
2018-09-11 07:42:21 -11:00
parent 58173d2df0
commit a69ea70d47

View File

@@ -509,8 +509,9 @@ int32_t main(int32_t argc,char **argv)
while ( 1 ) while ( 1 )
{ {
retstr = 0; retstr = 0;
if ( acheight != get_KMDheight(acname) && (clijson= get_komodocli(&retstr,acname,"oraclesinfo",oraclestr,"","")) != 0 ) if ( acheight != (height= get_KMDheight(acname)) && (clijson= get_komodocli(&retstr,acname,"oraclesinfo",oraclestr,"","")) != 0 )
{ {
acheight = height;
if ( (regjson= jarray(&n,clijson,"registered")) != 0 ) if ( (regjson= jarray(&n,clijson,"registered")) != 0 )
{ {
for (i=0; i<n; i++) for (i=0; i<n; i++)