pike.git / src / modules / _Protocols_DNS_SD / sd.c

version» Context lines:

pike.git/src/modules/_Protocols_DNS_SD/sd.c:359:       /* Optional TXT record may theoretically contain NUL chars so we can't    trust strlen. */    txt = (args == 5) ? sp[4 - args].u.string->str : NULL;    txtlen = txt ? sp[4 - args].u.string->len : 0;       /* Register new service */    err = start_service(THIS, name, service, domain, port, txt, txtlen);    if (IS_ERR(err))    raise_error("Could not register service.", err); -  pop_n_elems(args); +    }         static void init_service_struct(struct object *UNUSED(o))   {    THIS->service_ref = 0;   }         static void exit_service_struct(struct object *UNUSED(o))