diff options
| author | 2023-05-04 09:19:26 +0200 | |
|---|---|---|
| committer | 2023-05-04 09:19:26 +0200 | |
| commit | 511f5062b7df26c47409c88649f24d68bbd43ccb (patch) | |
| tree | 33fbd86a7706dcbe5ca0e9e21a0edba8d4092b2e /activitypub.c | |
| parent | Updated dependencies. (diff) | |
| download | snac2-511f5062b7df26c47409c88649f24d68bbd43ccb.tar.gz snac2-511f5062b7df26c47409c88649f24d68bbd43ccb.tar.xz snac2-511f5062b7df26c47409c88649f24d68bbd43ccb.zip | |
Deleted real unused parameters.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index b20ae0f..13b1ce2 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -109,7 +109,7 @@ int actor_request(snac *snac, const char *actor, xs_dict **data) | |||
| 109 | 109 | ||
| 110 | if (valid_status(status2)) { | 110 | if (valid_status(status2)) { |
| 111 | /* renew data */ | 111 | /* renew data */ |
| 112 | status = actor_add(snac, actor, payload); | 112 | status = actor_add(actor, payload); |
| 113 | 113 | ||
| 114 | if (data != NULL) { | 114 | if (data != NULL) { |
| 115 | *data = payload; | 115 | *data = payload; |
| @@ -1121,7 +1121,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) | |||
| 1121 | else | 1121 | else |
| 1122 | if (strcmp(type, "Update") == 0) { | 1122 | if (strcmp(type, "Update") == 0) { |
| 1123 | if (strcmp(utype, "Person") == 0) { | 1123 | if (strcmp(utype, "Person") == 0) { |
| 1124 | actor_add(snac, actor, xs_dict_get(msg, "object")); | 1124 | actor_add(actor, xs_dict_get(msg, "object")); |
| 1125 | 1125 | ||
| 1126 | snac_log(snac, xs_fmt("updated actor %s", actor)); | 1126 | snac_log(snac, xs_fmt("updated actor %s", actor)); |
| 1127 | } | 1127 | } |