git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3867
d4fa192b-c00b-0410-8231-
f00ffab90ce4
l->func = func;
l->priv = priv;
l->bufl = bufsize - 1;
+ l->telnet = -1;
l->buf = malloc(l->bufl + 1);
if (l->buf == NULL) {
FREE_OBJ(l);
l = NULL;
}
- l->telnet = -1;
}
return (l);
}
/* Return WONT for these */
memcpy(tno, p, 3);
tno[1] = (char)252;
- write(l->telnet, tno, 3);
+ (void)write(l->telnet, tno, 3);
i = 3;
break;
default:
VLU_Data(const void *ptr, int len, struct vlu *l)
{
const char *p;
- int i;
+ int i = 0;
p = ptr;
CHECK_OBJ_NOTNULL(l, LINEUP_MAGIC);