aboutsummaryrefslogtreecommitdiff
path: root/src/examples/msgs_i18n.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-01-18 15:17:21 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-01-18 15:18:40 +0300
commitbd41946e8f4f2086f7b2fcacc468a668c0676aff (patch)
tree151e103d07dc210f8365bbef0c26361d29873850 /src/examples/msgs_i18n.c
parent17c22c2c3b8e2b56874ff701be58e7c10d1d41f4 (diff)
downloadlibmicrohttpd-bd41946e8f4f2086f7b2fcacc468a668c0676aff.tar.gz
libmicrohttpd-bd41946e8f4f2086f7b2fcacc468a668c0676aff.zip
Renamed 'con_cls' -> 'req_cls' for access handler callback
The argument is actually request-specific, not connection specific. The name was confusing. Fixed related documentation and clarified usage. Also fixed code where argument named 'unused' was actually used.
Diffstat (limited to 'src/examples/msgs_i18n.c')
-rw-r--r--src/examples/msgs_i18n.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/msgs_i18n.c b/src/examples/msgs_i18n.c
index 56f9f501..5d563e4f 100644
--- a/src/examples/msgs_i18n.c
+++ b/src/examples/msgs_i18n.c
@@ -51,7 +51,7 @@ ahc_echo (void *cls,
51 const char *ver, 51 const char *ver,
52 const char *upd, 52 const char *upd,
53 size_t *upsz, 53 size_t *upsz,
54 void **ptr) 54 void **req_cls)
55{ 55{
56 return MHD_NO; 56 return MHD_NO;
57} 57}