--- ./http_ntlm.c	2008-08-15 16:33:27.000000000 +0800
+++ ../../../build/curl-7.15.3/lib/http_ntlm.c	2005-11-15 06:10:52.000000000 +0800
@@ -99,7 +99,7 @@
      beginning of the NTLM message, in bytes.
 */
 
-struct ntlmdata lastntlm = {0};
+
 CURLntlm Curl_input_ntlm(struct connectdata *conn,
                          bool proxy,   /* if proxy or not */
                          char *header) /* rest of the www-authenticate:
@@ -108,9 +108,6 @@
   /* point to the correct struct with this */
   struct ntlmdata *ntlm;
 
-  /* clean ntlm buffer */ 
-  memset(&lastntlm,0,sizeof(struct ntlmdata));
-
   ntlm = proxy?&conn->proxyntlm:&conn->ntlm;
 
   /* skip initial whitespaces */
@@ -170,10 +167,6 @@
       ntlm->state = NTLMSTATE_TYPE1; /* we should sent away a type-1 */
     }
   }
-
-  /* save got ntlm */
-  memcpy(&lastntlm,ntlm,sizeof(struct ntlmdata));
-
   return CURLNTLM_FINE;
 }
 
@@ -379,11 +372,6 @@
     ntlm = &conn->ntlm;
     authp = &conn->data->state.authhost;
   }
-
-  /* restore got ntlm */
-  if (lastntlm.state != NTLMSTATE_NONE)
-    memcpy(ntlm,&lastntlm,sizeof(struct ntlmdata));
-
   authp->done = FALSE;
 
   /* not set means empty */
@@ -810,9 +798,6 @@
     break;
   }
 
-  /* save got ntlm */
-  memcpy(&lastntlm,ntlm,sizeof(struct ntlmdata));
-
   return CURLE_OK;
 }
 
