diff --git a/kdc/connect.c b/kdc/connect.c index 6a48fd9af..873628639 100644 --- a/kdc/connect.c +++ b/kdc/connect.c @@ -665,11 +665,11 @@ handle_http_tcp (krb5_context context, s = (char *)d->buf; + /* If its a multi line query, truncate off the first line */ p = strstr(s, "\r\n"); if (p) *p = 0; - p = NULL; t = strtok_r(s, " \t", &p); if (t == NULL) {