- extract(cnode, buf, 0);
- extract(csecret, buf, 1);
- extract(chost, buf, 2);
- extract(cport, buf, 3);
+ extract_token(cnode, buf, 0, '|', sizeof cnode);
+ extract_token(csecret, buf, 1, '|', sizeof csecret);
+ extract_token(chost, buf, 2, '|', sizeof chost);
+ extract_token(cport, buf, 3, '|', sizeof cport);