commit 7d683d75f46b9ce3e03a8b40d59577ea22fb6607 from: Omar Polo via: Thomas Adam date: Mon Jun 03 19:10:22 2024 UTC gotwebd: remove previd and prevset query string parameter They're no longer used. commit - 9614da6336a81410f5bad7519a2cb557711308a8 commit + 7d683d75f46b9ce3e03a8b40d59577ea22fb6607 blob - 15705963f65690f4e95f3235f7b3bd8539378535 blob + 692b5fdeba4c2ee9b23e8b2b3418be95c4be0536 --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -976,18 +976,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;