- if (cfg.proxy_telnet_command[eo] >= '0' &&
- cfg.proxy_telnet_command[eo] <= '9')
- v += cfg.proxy_telnet_command[eo] - '0';
- else if (cfg.proxy_telnet_command[eo] >= 'a' &&
- cfg.proxy_telnet_command[eo] <= 'f')
- v += cfg.proxy_telnet_command[eo] - 'a' + 10;
- else if (cfg.proxy_telnet_command[eo] >= 'A' &&
- cfg.proxy_telnet_command[eo] <= 'F')
- v += cfg.proxy_telnet_command[eo] - 'A' + 10;
+ if (p->cfg.proxy_telnet_command[eo] >= '0' &&
+ p->cfg.proxy_telnet_command[eo] <= '9')
+ v += p->cfg.proxy_telnet_command[eo] - '0';
+ else if (p->cfg.proxy_telnet_command[eo] >= 'a' &&
+ p->cfg.proxy_telnet_command[eo] <= 'f')
+ v += p->cfg.proxy_telnet_command[eo] - 'a' + 10;
+ else if (p->cfg.proxy_telnet_command[eo] >= 'A' &&
+ p->cfg.proxy_telnet_command[eo] <= 'F')
+ v += p->cfg.proxy_telnet_command[eo] - 'A' + 10;