abouttreesummaryrefslogcommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index fb7ef33..dff0d17 100644
--- a/src/main.c
+++ b/src/main.c
@@ -99,9 +99,9 @@ UsersSetup() {
yas = UserNew("yas");
tof = UserNew("tof");
- UserRead(&pat);
- UserRead(&yas);
- UserRead(&tof);
+ // UserRead(&pat);
+ // UserRead(&yas);
+ // UserRead(&tof);
arrput(pat.following, &yas);
arrput(yas.following, &pat);
@@ -272,7 +272,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data, void *fn_data)
mg_http_get_var(&hm->body, "content", newPost.content, sizeof(newPost.content)-1);
arrput(user->posts, newPost);
- UserWrite(user);
+ // UserWrite(user);
http_redirect_home(c, hm, user);
}