]> sjero.net Git - wget/commitdiff
[svn] Fix setting the NTLM domain.
authorhniksic <devnull@localhost>
Thu, 21 Apr 2005 14:00:11 +0000 (07:00 -0700)
committerhniksic <devnull@localhost>
Thu, 21 Apr 2005 14:00:11 +0000 (07:00 -0700)
By Sami Krank.

src/ChangeLog
src/http-ntlm.c

index b5b26d34f17023634790b12a6d13825dfd793432..a92d6b2df6703cf4d0a55247da5f6d28f02f3b08 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-21  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http-ntlm.c (ntlm_output): Fix setting the domain.
+       Suggested by Sami Krank.
+
 2005-04-20  Mauro Tortonesi  <mauro@ferrara.linux.it>
 
        * connect.c: Set IPV6_V6ONLY socket option when -6 switch is used.
index 9f17e9eb7663f11a161155c53123b5082ec5786a..91ca02801b0db622d570aab84df21c34ca8fe910 100644 (file)
@@ -417,7 +417,7 @@ char *ntlm_output (struct ntlmdata *ntlm, const char *user, const char *passwd,
       usr = strchr(user, '/');
 
     if (usr) {
-      domain = usr;
+      domain = user;
       domlen = usr - domain;
       usr++;
     }