tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Armstrong <a...@tagish.com>
Subject Any reason why...
Date Thu, 21 Jun 2001 21:48:49 GMT
...these two lines at around 1110 in jk_ajp_common.c

  int port = jk_get_worker_port(props, p->name, port);
  char *host = jk_get_worker_host(props, p->name, host);

use unitialised values for port and host. Anyone mind if I change them
to

  int port = jk_get_worker_port(props, p->name, -1);
  char *host = jk_get_worker_host(props, p->name, NULL);

?

-- 
Andy Armstrong, Tagish

Mime
View raw message