summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 6abac61..882da33 100644
--- a/main.c
+++ b/main.c
@@ -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