char buf[1024];
char buf[1024], *ptr;
chap_Failure(struct authinfo *authp){#ifndef NODES  char buf[1024];#endif  const char *msg;#ifndef NODES  if (authp->physical->link.lcp.want_authtype == 0x81) {    char *ptr;    int i;    ptr = buf;    ptr += sprintf(buf, "E=691 R=0 C=");    for (i=0; i<16; i++)      ptr += sprintf(ptr, "%02X", *(auth2chap(authp)->challenge.local+1+i));        sprintf(ptr, " V=3 M=Invalid!");    msg = buf;  } else#endif    msg = "Invalid!!";  ChapOutput(authp->physical, CHAP_FAILURE, authp->id, msg, strlen(msg) + 1,             NULL);  datalink_AuthNotOk(authp->physical->dl);}