diff options
| author | 2024-05-05 01:38:22 +0200 | |
|---|---|---|
| committer | 2024-05-05 01:38:22 +0200 | |
| commit | fc76ae4e9e721a1ec5fbcf3b509d5a47cf48cd61 (patch) | |
| tree | b64e7179eacd692896cf9caa5f372854425473a5 /main.c | |
| parent | More Pleroma poll tweaks. (diff) | |
| download | snac2-fc76ae4e9e721a1ec5fbcf3b509d5a47cf48cd61.tar.gz snac2-fc76ae4e9e721a1ec5fbcf3b509d5a47cf48cd61.tar.xz snac2-fc76ae4e9e721a1ec5fbcf3b509d5a47cf48cd61.zip | |
New function enqueue_object_request().
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -458,6 +458,12 @@ int main(int argc, char *argv[]) | |||
| 458 | return 0; | 458 | return 0; |
| 459 | } | 459 | } |
| 460 | 460 | ||
| 461 | if (strcmp(cmd, "request2") == 0) { /** **/ | ||
| 462 | enqueue_object_request(&snac, url, 2); | ||
| 463 | |||
| 464 | return 0; | ||
| 465 | } | ||
| 466 | |||
| 461 | if (strcmp(cmd, "actor") == 0) { /** **/ | 467 | if (strcmp(cmd, "actor") == 0) { /** **/ |
| 462 | int status; | 468 | int status; |
| 463 | xs *data = NULL; | 469 | xs *data = NULL; |