Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
da27b336a8
  1. 5
      iguana/pangea_api.c

5
iguana/pangea_api.c

@ -380,6 +380,11 @@ void pangea_parse(struct supernet_info *myinfo,struct pangea_msghdr *pm,cJSON *a
printf("JOIN.(%s)\n",jprint(argjson,0));
pangea_tablejoin(myinfo,pm,tp,pm->serialized,(int32_t)(pm->sig.allocsize - sizeof(*pm)));
}
else if ( strcmp(method,"accept") == 0 )
{
printf("ACCEPT.(%s)\n",jprint(argjson,0));
pangea_tableaccept(myinfo,pm,tp,pm->serialized,(int32_t)(pm->sig.allocsize - sizeof(*pm)));
}
}
}

Loading…
Cancel
Save