On 4/20/13 4:41 AM, Igor Galić wrote:
----- Original Message -----
TS-1820 Cleanup the comments some, and eliminate a few unused
parameters where it was obvious
[snip]
//----------------------------------------------------------------------------
void
-TSPluginInit(int, const char *[]) // UNUSED int argc, const char *argv[]
+TSPluginInit(int /* argc ATS_UNUSED */, const char */* argv ATS_UNUSED */[])
{
global_contp = TSContCreate(cache_print_plugin, TSMutexCreate());
TSHttpHookAdd(TS_HTTP_READ_REQUEST_HDR_HOOK, global_contp);
I'm confused, I thought that's the way to pass parameters to a plugin via the
config.
Has Phil taught me wrong?
No why? This plugin simply isn't using the arguments.
-- Leif