diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -91,6 +91,19 @@ int main(int argc, char *argv[]) | |||
| 91 | xs *j = xs_json_dumps_pp(data, 4); | 91 | xs *j = xs_json_dumps_pp(data, 4); |
| 92 | printf("%s\n", j); | 92 | printf("%s\n", j); |
| 93 | } | 93 | } |
| 94 | |||
| 95 | return 0; | ||
| 96 | } | ||
| 97 | |||
| 98 | if (strcmp(cmd, "actor") == 0) { | ||
| 99 | int status; | ||
| 100 | xs *data = NULL; | ||
| 101 | |||
| 102 | status = actor_request(&snac, url, &data); | ||
| 103 | |||
| 104 | printf("status: %d\n", status); | ||
| 105 | |||
| 106 | return 0; | ||
| 94 | } | 107 | } |
| 95 | 108 | ||
| 96 | return 0; | 109 | return 0; |