X-Git-Url: https://gitweb.ps.run/chirp/blobdiff_plain/46cdeacd5f0bb421055d628e21c71f4e2b7e36c4..189f7bdd03406eeb29c46a36a2bfbdb110bed645:/src/main.c 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); }