Browse Source

String compare port 80

patch-3
jl777 7 years ago
parent
commit
72e57a4998
  1. 4
      iguana/exchanges/LP_coins.c

4
iguana/exchanges/LP_coins.c

@ -275,8 +275,8 @@ cJSON *LP_coinjson(struct iguana_info *coin,int32_t showwif)
struct iguana_info *LP_conflicts_find(struct iguana_info *refcoin)
{
struct iguana_info *coin=0,*tmp;
if ( refcoin != 0 && refcoin->port != 80 )
struct iguana_info *coin=0,*tmp; int32_t n;
if ( refcoin != 0 && (n= (int32_t)strlen(refcoin->serverport)) > 3 && strcmp("80",&refcoin->serverport[n-2]) != 0 )
{
HASH_ITER(hh,LP_coins,coin,tmp)
{

Loading…
Cancel
Save