The project "Citadel server, clients, utilities":

    The branch, master has been updated
       via  4e1d7c51fa2b649a79013879fb4358b8f2652555 (commit)
      from  ab8aa55769d9dc14da67808261b8085375cf7c16 (commit)


- Log -----------------------------------------------------------------
commit 4e1d7c51fa2b649a79013879fb4358b8f2652555
Author: Art Cancro <[email protected]>
Date:   Fri Sep 5 12:21:52 2025 -0700

DRY refactor: replace repeated JSON 200 response blocks with json200out()

Replaced eleven instances of boilerplate response construction—serialization, 
header setup, and body assignment
with a single call to json200out(h, j).  This preserves semantic behavior while 
eliminating redundancy.

Verified all replacements maintain memory discipline, header hygiene, and 
response integrity.

-----------------------------------------------------------------------

Summary of changes:
 webcit-ng/docs/api.txt             | 13 +++++----
 webcit-ng/server/admin_functions.c |  8 +----
 webcit-ng/server/ctdl_commands.c   |  9 +-----
 webcit-ng/server/floor_functions.c |  9 +-----
 webcit-ng/server/forum_view.c      |  9 +-----
 webcit-ng/server/netconfig.c       |  8 +----
 webcit-ng/server/request.c         | 14 +++++++++
 webcit-ng/server/room_functions.c  | 60 +++++---------------------------------
 webcit-ng/server/upload.c          | 16 ++--------
 webcit-ng/server/webcit.h          |  1 +
 webcit-ng/server/wiki_view.c       | 12 ++------
 webcit-ng/static/js/view_wiki.js   | 19 ++++++++++--
 12 files changed, 55 insertions(+), 123 deletions(-)

-- 
Citadel server, clients, utilities

Reply via email to