char *buf, *msg;
char *msg;
static void ssh1_msg_debug(Ssh ssh, struct Packet *pktin){    char *buf, *msg;    int msglen;    ssh_pkt_getstring(pktin, &msg, &msglen);    buf = dupprintf("Remote debug message: %.*s", msglen, msg);    logevent(buf);    sfree(buf);}