Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
55b521bfe6
  1. 4
      iguana/main.c

4
iguana/main.c

@ -1036,7 +1036,7 @@ void iguana_main(void *arg)
mycalloc(0,0,0); mycalloc(0,0,0);
myinfo = SuperNET_MYINFO(0); myinfo = SuperNET_MYINFO(0);
FILE *fp; int32_t iter; FILE *fp; int32_t iter;
strcpy(myinfo->NXTAPIURL,"http://127.0.0.1:7876"); strcpy(myinfo->NXTAPIURL,"http://127.0.0.1:7876/nxt");
for (iter=0; iter<2; iter++) for (iter=0; iter<2; iter++)
{ {
if ( (fp= fopen(iter == 0 ? "nxtpasswords" : "fimpasswords","rb")) != 0 ) if ( (fp= fopen(iter == 0 ? "nxtpasswords" : "fimpasswords","rb")) != 0 )
@ -1051,7 +1051,7 @@ void iguana_main(void *arg)
} }
fclose(fp); fclose(fp);
} }
strcpy(myinfo->NXTAPIURL,"http://127.0.0.1:7886"); strcpy(myinfo->NXTAPIURL,"http://127.0.0.1:7886/nxt");
} }
if ( usessl == 0 ) if ( usessl == 0 )
strcpy(myinfo->NXTAPIURL,"http://127.0.0.1:"); strcpy(myinfo->NXTAPIURL,"http://127.0.0.1:");

Loading…
Cancel
Save