From 4a1e73869b4b370fc34f5e5221b9c91d25e7851a Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 10 Nov 2016 09:47:36 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index ea2ba4e5f..4dd80ff47 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -61,7 +61,7 @@ int32_t dpow_addnotary(struct supernet_info *myinfo,char *ipaddr) for (i=0; i<=n; i++) printf("%08x ",myinfo->dpowipbits[i]); printf("->\n"); - qsort(myinfo->dpowipbits,n+1,sizeof(myinfo->dpowipbits),_increasing_ipbits); + qsort(myinfo->dpowipbits,n+1,sizeof(*myinfo->dpowipbits),_increasing_ipbits); for (i=0; i<=n; i++) printf("%08x ",myinfo->dpowipbits[i]); printf("addnotary.[%d] (%s) retval.%d (%d %d)\n",n,ipaddr,retval,myinfo->numdpowipbits,n);