Files
shadowsocks-libev/src
Max Lv 1f259d0fa0 Make the event loop, UDP relay and programs compile as C++
Cast allocator results and void* callback data explicitly, cast string
literals stored in char * variables, replace compound literals in
ss_event.c with zeroing plus member assignment, and give ss-server's
listener array its MAX_REMOTE_NUM bound instead of a VLA.

Where a goto CLEAN_UP jumps over an initialised declaration (C++
rejects that), split the declaration from its initialisation in place.
The variables were already indeterminate at the label in C, and the
cleanup code does not read them. Checked for every MODULE_* variant of
udprelay.c, plus LIB_ONLY for local.c. Still valid C.
2026-10-14 22:51:16 +08:00
..
2026-10-14 22:51:15 +08:00
2019-07-17 09:16:06 +08:00
2026-10-14 22:51:15 +08:00
2026-10-14 22:51:15 +08:00
2026-10-14 22:51:15 +08:00
2026-10-14 22:51:15 +08:00
2026-10-14 22:51:15 +08:00
2026-10-14 22:51:15 +08:00
2019-03-21 12:39:29 +08:00
2016-12-08 04:10:52 -06:00