diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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);
}
|
