diff options
| author | 2025-09-03 06:38:07 +0200 | |
|---|---|---|
| committer | 2025-09-03 06:38:07 +0200 | |
| commit | 4661d7f5bc076be896c7192bb63a7c7d726993da (patch) | |
| tree | 2bc87b6e634c7c885bbce168aaf5acd6f6c30894 /main.c | |
| parent | Call enqueue_collect_outbox() after a Follow Accept. (diff) | |
| download | snac2-4661d7f5bc076be896c7192bb63a7c7d726993da.tar.gz snac2-4661d7f5bc076be896c7192bb63a7c7d726993da.tar.xz snac2-4661d7f5bc076be896c7192bb63a7c7d726993da.zip | |
Renamed function list_content() to list_members().
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -354,7 +354,7 @@ int main(int argc, char *argv[]) | |||
| 354 | xs *lid = list_maint(&snac, url, 4); | 354 | xs *lid = list_maint(&snac, url, 4); |
| 355 | 355 | ||
| 356 | if (lid != NULL) { | 356 | if (lid != NULL) { |
| 357 | xs *lcont = list_content(&snac, lid, NULL, 0); | 357 | xs *lcont = list_members(&snac, lid, NULL, 0); |
| 358 | const char *md5; | 358 | const char *md5; |
| 359 | 359 | ||
| 360 | xs_list_foreach(lcont, md5) { | 360 | xs_list_foreach(lcont, md5) { |
| @@ -410,7 +410,7 @@ int main(int argc, char *argv[]) | |||
| 410 | if (valid_status(webfinger_request(account, &actor, &uid))) { | 410 | if (valid_status(webfinger_request(account, &actor, &uid))) { |
| 411 | xs *md5 = xs_md5_hex(actor, strlen(actor)); | 411 | xs *md5 = xs_md5_hex(actor, strlen(actor)); |
| 412 | 412 | ||
| 413 | list_content(&snac, lid, md5, 1); | 413 | list_members(&snac, lid, md5, 1); |
| 414 | printf("Actor %s (%s) added to list '%s' (%s)\n", actor, uid, url, lid); | 414 | printf("Actor %s (%s) added to list '%s' (%s)\n", actor, uid, url, lid); |
| 415 | } | 415 | } |
| 416 | else | 416 | else |
| @@ -433,7 +433,7 @@ int main(int argc, char *argv[]) | |||
| 433 | if (lid != NULL) { | 433 | if (lid != NULL) { |
| 434 | xs *md5 = xs_md5_hex(account, strlen(account)); | 434 | xs *md5 = xs_md5_hex(account, strlen(account)); |
| 435 | 435 | ||
| 436 | list_content(&snac, lid, md5, 2); | 436 | list_members(&snac, lid, md5, 2); |
| 437 | printf("Actor %s deleted from list '%s' (%s)\n", account, url, lid); | 437 | printf("Actor %s deleted from list '%s' (%s)\n", account, url, lid); |
| 438 | } | 438 | } |
| 439 | else | 439 | else |