forked from mirrors/treebird
Statuses
FossilOrigin-Name: 4e38f171086f674b8a90d680c11316074996952e4320d6cdf47eca059ec8eb05
This commit is contained in:
parent
6f4b964212
commit
38536d9f22
2 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ GIT ?= git
|
|||
MASTODONT_DIR = mastodont-c/
|
||||
MASTODONT = $(MASTODONT_DIR)libmastodont.a
|
||||
CFLAGS = -Wall -I $(MASTODONT_DIR)include/
|
||||
LDFLAGS = -L$(MASTODONT_DIR) -lcurl -lmastodont
|
||||
LDFLAGS = -L$(MASTODONT_DIR) -lcurl -lmastodont -lcjson
|
||||
SRC = $(wildcard src/*.c)
|
||||
OBJ = $(patsubst %.c,%.o,$(SRC))
|
||||
PAGES_DIR = static
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
void content_index(mastodont_t* api)
|
||||
{
|
||||
struct mstdnt_response response;
|
||||
mastodont_timeline_public(api, NULL, &response);
|
||||
struct mstdnt_status* statuses;
|
||||
mastodont_timeline_public(api, NULL, &statuses);
|
||||
printf(data_index_html, config_canonical_name);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue