summaryrefslogtreecommitdiff
path: root/src/htsbauth.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-03-19 13:04:25 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-03-19 13:04:25 +0000
commit388b7dee2a2d558c0ee576a9213b5ea422a56c77 (patch)
tree4c0f66930ae08593dd39134395b42bcec7a15d61 /src/htsbauth.c
parent0183f4dd84d8cc44d617fb48436881e79e2bf0f2 (diff)
httrack 3.45.1
Diffstat (limited to 'src/htsbauth.c')
-rw-r--r--src/htsbauth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/htsbauth.c b/src/htsbauth.c
index df47d13..99a3584 100644
--- a/src/htsbauth.c
+++ b/src/htsbauth.c
@@ -1,4 +1,3 @@
-/* ------------------------------------------------------------ */
/*
HTTrack Website Copier, Offline Browser for Windows and Unix
Copyright (C) Xavier Roche and other contributors
@@ -246,7 +245,7 @@ int cookie_load(t_cookie* cookie, const char* fpath, const char* name) {
if (line[0]!='#') {
char domain[256]; // domaine cookie (.netscape.com)
char path[256]; // chemin (/)
- char cook_name[256]; // nom cookie (MYCOOK)
+ char cook_name[1024]; // nom cookie (MYCOOK)
char BIGSTK cook_value[8192]; // valeur (ID=toto,S=1234)
strcpybuff(domain,cookie_get(buffer,line,0)); // host
strcpybuff(path,cookie_get(buffer,line,2)); // path