From 1f7b0d879ca1f7c4e4e1487d4153fe825431673f Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 23 Nov 2017 11:43:55 +0400 Subject: [PATCH] Test --- iguana/exchanges/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/mm.c b/iguana/exchanges/mm.c index 275a3ad88..5d392f002 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -882,7 +882,7 @@ int main(int argc, const char * argv[]) cJSON *retjson,*loginjson; int32_t i; OS_init(); printf("%s\n",(char *)argv[0]); - if ( strncmp(argv[0],"btc2kmd",7) == 0 && argv[1] != 0 ) + if ( strstr("btc2kmd",argv[0]) != 0 && argv[1] != 0 ) { uint8_t addrtype,rmd160[20]; char coinaddr[64]; bitcoin_addr2rmd160(0,&addrtype,rmd160,(char *)argv[1]);