cpString

testclick testclick2002 at yahoo.com
Tue Oct 29 08:54:45 EST 2002


Hi,

I got some problem when I try to use cpString to put
some info into the element.

in <.hh> file, declared hostname as:
String hostname;
in <.cc> file,
if (cp_va_parse(conf, this, errh,
                cpString,"hostname",&hostname,......)
click_chatter("hostname is %s", hostname.data());

in <.click> file, give the paramenters as the
following
elementName( testclick,.....)

then in the output of the file, all other parameters
are correctly set, but I found the hostname get all
the words from the "testclick" till the end of the
config file, no matter what I changed. What a strange,
would you please give a hand? THanks!

testclick 



__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/




More information about the click mailing list