Mercurial > blahgd > experimental
changeset 950:9b3496add4b8
post: correct a comment
This comment dates back to when we used sqlite3 for indexing of posts. It
was 100% wrong these days (e.g., posts is now an input and not an output).
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Thu, 12 Apr 2018 10:01:39 -0400 |
parents | 6f49a3e7feb3 |
children | 3f9303b0c87f |
files | post_nv.c |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/post_nv.c Fri Mar 30 12:08:02 2018 -0400 +++ b/post_nv.c Thu Apr 12 10:01:39 2018 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2017 Josef 'Jeff' Sipek <jeffpc@josefsipek.net> + * Copyright (c) 2009-2018 Josef 'Jeff' Sipek <jeffpc@josefsipek.net> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -202,12 +202,8 @@ } /* - * Fill in the `posts' array with all posts matching the prepared and bound - * statement. - * - * `stmt' should be all ready to execute and it should output two columns: - * post id - * post time + * Set "posts", "lastupdate", and "moreposts" vars based on the array of + * posts passed in as @posts. */ void load_posts(struct req *req, struct post **posts, int nposts, bool moreposts)