commit d5c153d0d827ef4993f41fca5a6eff8736e85a76 from: Omar Polo date: Tue May 28 12:53:49 2024 UTC gotwebd: remove previd and prevset query string parameter They're no longer used. commit - 9ba23f168f80cb5a70c47b1a937de20515bfc118 commit + d5c153d0d827ef4993f41fca5a6eff8736e85a76 blob - cc0587fcbfb4070e2edbe6dbf50ad0d82350ad8b blob + 7dc9dcd2a4c1a3b10ffd770076772a14cb4eee44 --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -977,18 +977,6 @@ gotweb_render_url(struct request *c, struct gotweb_url if (url->commit) { if (tp_writef(c->tp, "%scommit=%s", sep, url->commit) == -1) - return -1; - sep = "&"; - } - - if (url->previd) { - if (tp_writef(c->tp, "%sprevid=%s", sep, url->previd) == -1) - return -1; - sep = "&"; - } - - if (url->prevset) { - if (tp_writef(c->tp, "%sprevset=%s", sep, url->prevset) == -1) return -1; sep = "&"; } blob - 965575a81e6fa9466d7fa736d9d04e7fdd4d95e5 blob + c0047da16df32ddb81665645f2025c12d9cf8250 --- gotwebd/gotwebd.h +++ gotwebd/gotwebd.h @@ -370,8 +370,6 @@ struct gotweb_url { int action; int index_page; const char *commit; - const char *previd; - const char *prevset; const char *file; const char *folder; const char *headref; @@ -381,8 +379,6 @@ struct gotweb_url { struct querystring { uint8_t action; char *commit; - char *previd; - char *prevset; char *file; char *folder; char *headref;