(Data): Use right variable. From Tomas Olsson
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16263 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -125,8 +125,8 @@ Data(Authenticator *ap, int type, const void *d, int c)
|
|||||||
if (c == -1)
|
if (c == -1)
|
||||||
c = strlen((const char*)cd);
|
c = strlen((const char*)cd);
|
||||||
|
|
||||||
for (cp = cd; cp - cd < c; p++, len++)
|
for (cp = cd; cp - cd < c; cp++, len++)
|
||||||
if (*p == IAC)
|
if (*cp == IAC)
|
||||||
len++;
|
len++;
|
||||||
|
|
||||||
p0 = malloc(len);
|
p0 = malloc(len);
|
||||||
|
Reference in New Issue
Block a user