Browse Source

Test

etomic
jl777 8 years ago
parent
commit
503216a970
  1. 3
      iguana/exchanges/LP_nativeDEX.c

3
iguana/exchanges/LP_nativeDEX.c

@ -892,6 +892,7 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i
free(retstr); free(retstr);
} }
portable_mutex_unlock(&LP_commandmutex); portable_mutex_unlock(&LP_commandmutex);
printf("subloop.(%s)\n",jprint(argjson,0));
free_json(argjson); free_json(argjson);
} else printf("error parsing.(%s)\n",(char *)ptr); } else printf("error parsing.(%s)\n",(char *)ptr);
if ( ptr != 0 ) if ( ptr != 0 )
@ -899,7 +900,7 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i
} }
} }
if ( nonz == 0 ) if ( nonz == 0 )
sleep(n + 1); sleep(1);
} }
} }
else else

Loading…
Cancel
Save