[w3m-dev 00483] fix to ftp proxy with proxy_authentication (Re: w3m-0.1.9)

From: Yamate Keiichirou (yamate@ebina.hitachi.co.jp)
Date: Fri Apr 21 2000 - 01:22:19 CDT


  $B$d$^$F(B@$B?ALn$G$9!#(B

  $BAaB.%3%s%Q%$%k$7$?$i!"(Bftp proxy$B$,DL$i$J$+$C$?$N$G!"(Bfix$B$@$1$G$bAw$j$^$9!#(B

  C comment$B$bD>$7$^$7$?!#K\Ev$O(Bpatch$B$rJL$K$9$k$Y$-$@$C$?$N$G$9$,!"LLE](B
$B$J$N$GF1$8%Q%C%A$KF~$C$F$$$^$9!#(B

---
$B$d$^$F(B

diff -rU3 -bBw -x CVS w3m-0.1.9/anchor.c w3m.new/anchor.c --- w3m-0.1.9/anchor.c Fri Apr 21 13:43:30 2000 +++ w3m.new/anchor.c Fri Apr 21 13:50:27 2000 @@ -27,8 +27,8 @@ al->nanchor = al->anchormax = 0; al->acache = -1; } - if (al->anchormax == 0) { /* first time; allocate anchor * * * * * - * buffer */ + if (al->anchormax == 0) { + /* first time; allocate anchor buffer */ al->anchors = New_N(Anchor, FIRST_ANCHOR_SIZE); al->anchormax = FIRST_ANCHOR_SIZE; } diff -rU3 -bBw -x CVS w3m-0.1.9/buffer.c w3m.new/buffer.c --- w3m-0.1.9/buffer.c Fri Apr 21 13:43:30 2000 +++ w3m.new/buffer.c Fri Apr 21 14:15:36 2000 @@ -311,9 +311,9 @@ cpoint, /* Current Buffer Number */ spoint, /* Current Line on Screen */ maxbuf, - sclimit = LASTLINE; /* Upper limit of line * * - * * * * * number * in - * the * screen */ + sclimit = LASTLINE; /* Upper limit of line + * number in the + * screen */ Buffer *buf, *topbuf; char c; @@ -407,7 +404,8 @@ return currentbuf; } /* - * move(LASTLINE, COLS - 1); */ + * move(LASTLINE, COLS - 1); + */ move(spoint, 0); refresh(); } diff -rU3 -bBw -x CVS w3m-0.1.9/display.c w3m.new/display.c --- w3m-0.1.9/display.c Fri Apr 21 13:43:30 2000 +++ w3m.new/display.c Fri Apr 21 14:17:30 2000 @@ -16,8 +16,16 @@ #define EFFECT_ACTIVE_START effect_active_start() #define EFFECT_ACTIVE_END effect_active_end() -/* color: * 0 black * 1 red * 2 green * 3 yellow * 4 blue * 5 - * * * * * * magenta * 6 cyan * 7 white */ +/* color: + * 0 black + * 1 red + * 2 green + * 3 yellow + * 4 blue + * 5 magenta + * 6 cyan + * 7 white + */ #define EFFECT_ANCHOR_START_C setfcolor(anchor_color) #define EFFECT_IMAGE_START_C setfcolor(image_color) @@ -590,9 +598,9 @@ else if (c != '\n') { if ((unsigned char) c < 0x80 || (unsigned char) c > 0x9F) { addch(c); - } /* else: Eliminate unprintables according - * * * * * * to iso-8859-*. Particularly * - * 0x96 * * * messes * up T.Dickey's * * + } + /* else: Eliminate unprintables according to + * iso-8859-*. Particularly 0x96 messes up T.Dickey's * (xfree-)xterm */ } #endif diff -rU3 -bBw -x CVS w3m-0.1.9/etc.c w3m.new/etc.c --- w3m-0.1.9/etc.c Fri Apr 21 13:43:31 2000 +++ w3m.new/etc.c Fri Apr 21 14:18:05 2000 @@ -797,8 +780,7 @@ } if (*status == R_ST_TAG0 && !REALLY_THE_BEGINNING_OF_A_TAG(p)) { - /* it seems that this '<' is not a * * * beginning of a * - * tag */ + /* it seems that this '<' is not a beginning of a tag */ Strcat_charp(buf, "&lt;"); *status = R_ST_NORMAL; } diff -rU3 -bBw -x CVS w3m-0.1.9/file.c w3m.new/file.c --- w3m-0.1.9/file.c Fri Apr 21 13:43:31 2000 +++ w3m.new/file.c Fri Apr 21 14:26:12 2000 @@ -651,8 +651,8 @@ } } if (a_found) { - /* This means that *-Authenticate: header is received * * * * * - * after * Authorization: header is sent to the server. */ + /* This means that *-Authenticate: header is received after + * Authorization: header is sent to the server. */ if (fmInitialized) { message("Wrong username or password", 0, 0); refresh(); @@ -661,8 +661,8 @@ fprintf(stderr, "Wrong username or password\n"); sleep(1); ss = NULL; - *i0 = i->next; /* delete Authenticate: header from * * * - * * * extra_header */ + *i0 = i->next; /* delete Authenticate: header from + * extra_header */ } else ss = find_auth_cookie(pu->host, realm); @@ -1861,10 +1861,10 @@ case FORM_INPUT_RESET: q = "RESET"; break; - /* if no VALUE attribute is specified in <INPUT * * * * * - * TYPE=CHECHBOX> tag, then the value "on" is * used * * * * - * as a * default value. It is not a * part of * HTML4.0 * * - * * specification, but an * imitation of * Netscape * * + /* if no VALUE attribute is specified in + * <INPUT TYPE=CHECHBOX> tag, then the value "on" is used + * as a default value. It is not a part of HTML4.0 + * specification, but an imitation of Netscape * behaviour. */ case FORM_INPUT_CHECKBOX: q = "on"; @@ -3464,8 +3464,7 @@ #ifndef NEW_FORM if (form_sp < 0) - break; /* outside * * * * * * of * * * - * * * <form>..</form> * * * */ + break; /* outside of <form>..</form> */ #endif /* not NEW_FORM */ t_arg = parse_tag(tagbuf->ptr); hseq = 0; @@ -3481,8 +3480,7 @@ } #ifdef NEW_FORM if (form_id < 0) - break; /* outside * * * * * * of * * * - * * * <form>..</form> * * * */ + break; /* outside of <form>..</form> */ form = forms[form_id]; #else /* not NEW_FORM */ form = form_stack[form_sp]; @@ -3562,12 +3560,8 @@ /* nothing to do */ break; case HTML_AREA: - if (buf->maplist == NULL) /* outside * * * * * * - * * * * * * * * * * - * of * * * * * * * * - * * * * * * * * * - * <map>..</map> * * * - * * * */ + if (buf->maplist == NULL) /* outside of + * <map>..</map> */ break; p = NULL; t_arg = parse_tag(tagbuf->ptr); @@ -3878,12 +3872,13 @@ while (*str != '\0') { if (obuf->table_level > 0 && obuf->status == R_ST_NORMAL) { /* - * within table: in <table>..</table>, all input tokens are fed to - * the table renderer, and then the renderer makes HTML output. + * within table: in <table>..</table>, all input tokens + * are fed to the table renderer, and then the renderer + * makes HTML output. */ check_table_tag: if (obuf->flag & RB_N_TABLE) { - /* ``</table'' is already got and expects * * * ``>'' */ + /* ``</table'' is already got and expects ``>'' */ while (*str) { if (*str == '>') { obuf->flag &= ~RB_N_TABLE; @@ -3996,7 +3991,7 @@ } else { if (!REALLY_THE_BEGINNING_OF_A_TAG(str)) { - /* this is NOT a beginning of a * * * tag */ + /* this is NOT a beginning of a tag */ obuf->status = R_ST_NORMAL; HTMLlineproc1("&lt;", h_env); str++; @@ -4005,9 +4000,9 @@ read_token(h_env->tagbuf, &str, &obuf->status, 0, 0); if (ST_IS_COMMENT(obuf->status)) { if (obuf->flag & RB_IGNORE) - /* within ignored tag, * * * such as * * * * * - * <script>..</script>, * * * * don't process * - * * comment. */ + /* within ignored tag, such as + * <script>..</script>, don't process comment. + */ obuf->status = R_ST_NORMAL; return; } @@ -4015,9 +4010,7 @@ continue; /*** Beginning of a new tag ***/ if (obuf->flag & RB_PLAIN) - goto read_as_plain; /* don't * * * * * * - * process * * * * * * - * * * tag */ + goto read_as_plain; /* don't process tag */ if (obuf->status != R_ST_NORMAL) { /* contine to the next line */ if (str[-1] != '\n') @@ -4029,7 +4022,7 @@ cmd = gethtmlcmd(&q, &status); /* process tags */ if (HTMLtagproc1(cmd, h_env) == 0) { - /* preserve the tag for second-stage * * * processing */ + /* preserve the tag for second-stage processing */ push_tag(obuf, h_env->tagbuf->ptr, cmd); } #ifdef ID_EXT diff -rU3 -bBw -x CVS w3m-0.1.9/form.c w3m.new/form.c --- w3m-0.1.9/form.c Fri Apr 21 13:43:31 2000 +++ w3m.new/form.c Fri Apr 21 14:27:33 2000 @@ -9,9 +9,9 @@ #include "local.h" #ifdef __EMX__ -/* lstat is identical to stat, only the link itself is statted, not the * - * * * * * * file that is obtained by tracing the links. But on OS/2 * - * systems, * * * there * * is no differences. */ +/* lstat is identical to stat, only the link itself is statted, not + * the file that is obtained by tracing the links. But on OS/2 + * systems, there is no differences. */ #define lstat stat #endif /* __EMX__ */ diff -rU3 -bBw -x CVS w3m-0.1.9/form.h w3m.new/form.h --- w3m-0.1.9/form.h Fri Apr 21 13:43:31 2000 +++ w3m.new/form.h Fri Apr 21 14:27:54 2000 @@ -32,11 +32,11 @@ #define FORM_ENCTYPE_URLENCODED 0 #define FORM_ENCTYPE_MULTIPART 1 -#define MAX_TEXTAREA 100 /* max number of <textarea>..</textarea> * - * - * * * * within one document */ +#define MAX_TEXTAREA 100 /* max number of + * <textarea>..</textarea> within one + * document */ #ifdef MENU_SELECT -#define MAX_SELECT 100 /* max number of <select>..</select> * * * +#define MAX_SELECT 100 /* max number of <select>..</select> * within one document */ #endif /* MENU_SELECT */ diff -rU3 -bBw -x CVS w3m-0.1.9/frame.c w3m.new/frame.c --- w3m-0.1.9/frame.c Fri Apr 21 13:43:31 2000 +++ w3m.new/frame.c Fri Apr 21 14:28:58 2000 @@ -647,10 +647,8 @@ fprintf(f1, "=\"%s\"", t->value); } if (a_target == 1) { - /* there * * * * is * HREF * * * * * - * * * * attribute * * * * * * * and * * - * no * * * * TARGET * * * * * * - * attribute * * * * */ + /* there is HREF attribute and no + * TARGET attribute */ fprintf(f1, " TARGET=\"%s\"", d_target); } if (is_anchor) diff -rU3 -bBw -x CVS w3m-0.1.9/func.c w3m.new/func.c --- w3m-0.1.9/func.c Fri Apr 21 13:43:31 2000 +++ w3m.new/func.c Fri Apr 21 14:31:18 2000 @@ -153,8 +153,7 @@ c = (int) *s; if (c >= (int) '@' && c <= (int) '_') /* ^@ .. ^_ */ return esc + c - (int) '@'; - else if (c >= (int) 'a' && c <= (int) 'z') /* ^a .. * * * * - * * ^z */ + else if (c >= (int) 'a' && c <= (int) 'z') /* ^a .. ^z */ return esc + c - (int) 'a' + 1; else if (*s == '?') /* ^? */ return esc + DEL_CODE; @@ -251,31 +250,18 @@ while (*p != '\0') { if (esc) { if (in_q) { - if (*p != '\\' && *p != '\'') /* '..\\..', * * * * * - * * * * * * '..\'..' * - * * * * */ + if (*p != '\\' && *p != '\'') /* '..\\..', '..\'..' */ *e++ = '\\'; } else if (in_dq) { - if (*p != '\\' && *p != '"') /* "..\\..", * * * * * - * * * * * * "..\".." * - * * * * */ + if (*p != '\\' && *p != '"') /* "..\\..", "..\".." */ *e++ = '\\'; } else { - if (*p != '\\' && *p != '\'' && /* ..\\.., * * * - * * * * * * * - * * * * * * * - * * * ..\'.. * - * * * * * * * */ - *p != '"' && !IS_SPACE(*p)) /* ..\".., * * * - * * * * * * * - * * * * * * * - * * * ..\ * * - * * * * * * * * - * * * * * * * - * .. * * * * * - * * */ + if (*p != '\\' && *p != '\'' && /* ..\\.., + * ..\'.. */ + *p != '"' && !IS_SPACE(*p)) /* ..\".., + * ..\.. */ *e++ = '\\'; } *e++ = *p; diff -rU3 -bBw -x CVS w3m-0.1.9/indep.c w3m.new/indep.c --- w3m-0.1.9/indep.c Fri Apr 21 13:43:31 2000 +++ w3m.new/indep.c Fri Apr 21 14:32:46 2000 @@ -145,9 +145,7 @@ "¦Õ", "U`", "U'", "U^", "Ue", "Y'", "th", "ss", /* 88- 95 */ "a`", "a'", "a^", "a~", "ae", "a", "ae", "c", /* 96-103 */ "e`", "e'", "e^", "e", "i`", "i'", "i^", "i", /* 104-111 */ - "dh", "n~", "o`", "o'", "o^", "o~", "oe", "¡à", /* 112-119 * * * - * - * * */ + "dh", "n~", "o`", "o'", "o^", "o~", "oe", "¡à", /* 112-119 */ "¦Õ", "u`", "u'", "u^", "ue", "y'", "th", "y" /* 120-127 */ }; @@ -348,7 +346,7 @@ p = buf; q = name; while (*q != '\0' && *q != '?') { - if (strncmp(p, "/../", 4) == 0) { /* foo/bar/../FOO * * * */ + if (strncmp(p, "/../", 4) == 0) { /* foo/bar/../FOO */ if (p - 2 == buf && strncmp(p - 2, "..", 2) == 0) { /* ../../ */ p += 3; @@ -360,11 +358,7 @@ q += 3; } else { - while (p != buf && *--p != '/'); /* -> * * * * - * * * * * * * - * * * * * * - * foo/FOO * * * * - * * * */ + while (p != buf && *--p != '/'); /* ->foo/FOO */ *p = '\0'; q += 3; strcat(buf, q); @@ -378,25 +372,21 @@ /* ../../.. */ } else { - while (p != buf && *--p != '/'); /* -> * * * * - * * * * * * * - * * * * * * - * foo/ * * * * - * * * */ + while (p != buf && *--p != '/'); /* ->foo/ */ *++p = '\0'; } break; } - else if (strncmp(p, "/./", 3) == 0) { /* foo/./bar * */ + else if (strncmp(p, "/./", 3) == 0) { /* foo/./bar */ *p = '\0'; /* -> foo/bar */ q += 2; strcat(buf, q); } - else if (strcmp(p, "/.") == 0) { /* foo/. * */ + else if (strcmp(p, "/.") == 0) { /* foo/. */ *++p = '\0'; /* -> foo/ */ break; } - else if (strncmp(p, "//", 2) == 0) { /* foo//bar * */ + else if (strncmp(p, "//", 2) == 0) { /* foo//bar */ /* -> foo/bar */ #ifdef CYGWIN if (p == buf) { /* //DRIVE/foo */ diff -rU3 -bBw -x CVS w3m-0.1.9/main.c w3m.new/main.c --- w3m-0.1.9/main.c Fri Apr 21 13:43:32 2000 +++ w3m.new/main.c Fri Apr 21 14:45:53 2000 @@ -355,9 +366,8 @@ if (BookmarkFile == NULL) BookmarkFile = rcFile(BOOKMARK); - if (!isatty(1) && !w3m_dump && !w3m_halfdump) { /* redirected * - * * * * * * * * - * * * * * output */ + if (!isatty(1) && !w3m_dump && !w3m_halfdump) { + /* redirected output */ w3m_dump = TRUE; if (COLS == 0) COLS = 80; @@ -1513,10 +1523,7 @@ Currentbuf->pagerSource != NULL || /* Behaving as a pager */ Currentbuf->type == NULL || /* Reading shell */ Currentbuf->currentURL.scheme != SCM_LOCAL || - !strcmp(Currentbuf->currentURL.file, "-") || /* file is * * * - * - * * * * * * * - * std * * * * * + !strcmp(Currentbuf->currentURL.file, "-") || /* file is std * input */ Currentbuf->bufferprop & BP_FRAME) { /* Frame */ disp_message("Can't edit other than local file", TRUE); @@ -1781,25 +1788,23 @@ if (!on_target) /* open link as an indivisual page */ return loadNormalBuf(buf, TRUE); - if (do_download) /* download (thus no need to render frame) - * - * * * * * * * * */ + if (do_download) /* download (thus no need to render + * frame) */ return loadNormalBuf(buf, FALSE); - if (target == NULL || /* no target specified (that means this * - * * * * * page is not a frame page) */ - !strcmp(target, "_top") || /* this link is specified to be * - * * * * * opened as an indivisual - * * * page */ - !(Currentbuf->bufferprop & BP_FRAME) /* This page is * * * not - * * * a frame * * * page */ + if (target == NULL || /* no target specified (that means + * this page is not a frame page) */ + !strcmp(target, "_top") || /* this link is specified to + * be opened as an indivisual + * page */ + !(Currentbuf->bufferprop & BP_FRAME) /* This page is not a + * frame page */ ) { return loadNormalBuf(buf, TRUE); } nfbuf = Currentbuf->linkBuffer[LB_N_FRAME]; if (nfbuf == NULL) { - /* original page (that contains <frameset> tag) doesn't * * * * - * exist */ + /* original page (that contains <frameset> tag) doesn't exist */ return loadNormalBuf(buf, TRUE); } @@ -2659,8 +2664,8 @@ Str url, title, tmp; - /* cmd_loadBuffer(load_bookmark_panel(Currentbuf), BP_NO_URL, * * * * - * * LB_NOLINK); */ + /* cmd_loadBuffer(load_bookmark_panel(Currentbuf), BP_NO_URL, + * LB_NOLINK); */ url = form_quote(parsedURL2Str(&Currentbuf->currentURL)); title = form_quote(Strnew_charp(Currentbuf->buffername)); #ifdef __EMX__ diff -rU3 -bBw -x CVS w3m-0.1.9/terms.c w3m.new/terms.c --- w3m-0.1.9/terms.c Fri Apr 21 13:43:33 2000 +++ w3m.new/terms.c Fri Apr 21 14:11:58 2000 @@ -474,9 +474,11 @@ GETSTR(T_op, "op"); /* set default color pair to its original * * * * * * value */ #ifdef CYGWIN -/* for TERM=pcansi on MS-DOS prompt. T_as = "\033[12m"; T_ae = "\033[10m"; - * * * * * * T_ac = * * * - * "l\001k\002m\003j\004x\005q\006n\020a\024v\025w\026u\027t\031"; */ +/* for TERM=pcansi on MS-DOS prompt. + * T_as = "\033[12m"; + * T_ae = "\033[10m"; + * T_ac = "l\001k\002m\003j\004x\005q\006n\020a\024v\025w\026u\027t\031"; + */ T_as[0] = '\0'; T_ae[0] = '\0'; T_ac[0] = '\0'; @@ -775,7 +776,7 @@ else return; - /* Required to erase bold or underlined character for some * * * * * + /* Required to erase bold or underlined character for some * terminal emulators. */ if (((pr[CurColumn] & S_BOLD) && need_redraw(p[CurColumn], pr[CurColumn], c, CurrentMode)) || @@ -1079,15 +1074,16 @@ if (pr[col] & S_EOL) break; - /* some terminal emulators do linefeed * * * when a * - * character * is put on COLS-th * * * column. this - * behavior * is different * from * * * * * one of - * vt100, but such * terminal * * * * emulators are used - * as * vt100-compatible * * * emulators. This * * - * behaviour causes * scroll * when * a * character is - * drawn * on * * * (COLS-1,LINES-1) point. * To avoid - * the * * * scroll, * I prohibit to draw character * * * - * on * (COLS-1,LINES-1). */ + /* + * some terminal emulators do linefeed when a + * character is put on COLS-th column. this behavior + * is different from one of vt100, but such terminal + * emulators are used as vt100-compatible + * emulators. This behaviour causes scroll when a + * character is drawn on (COLS-1,LINES-1) point. To + * avoid the scroll, I prohibit to draw character on + * (COLS-1,LINES-1). + */ #ifndef BG_COLOR if (line == LINES - 1 && col == COLS - 1) break; @@ -1258,8 +1251,8 @@ #if 0 void need_clrtoeol(void) -{ /* Clear to the end of line as the need * - * * * * * arises */ +{ + /* Clear to the end of line as the need arises */ l_prop *lprop = ScreenImage[CurLine]->lineprop; if (lprop[CurColumn] & S_EOL) @@ -1386,15 +1379,17 @@ for (i = 0; i < n - 1 && *s != '\0'; i++) addch(*(s++)); if (*s != '\0') { - if (*s & 0x80) { /* WCHAR */ - if (CHMODE(CurrentMode) == C_WCHAR1) /* WCHAR * * * * - * * * * second * - * * * * * byte */ + if (*s & 0x80) { + /* WCHAR */ + if (CHMODE(CurrentMode) == C_WCHAR1) { + /* WCHAR second byte */ addch(*s); } - else /* Ascii or WCHAR2 */ + } else { + /* Ascii or WCHAR2 */ addch(*s); } + } #else /* not JP_CHARSET */ for (i = 0; i < n && *s != '\0'; i++) addch(*(s++)); @@ -1410,15 +1405,15 @@ for (i = 0; i < n - 1 && *s != '\0'; i++) addch(*(s++)); if (*s != '\0') { - if (*s & 0x80) { /* WCHAR */ - if (CHMODE(CurrentMode) == C_WCHAR1) { /* WCHAR * * * * - * * * * second * - * * * * * byte */ + if (*s & 0x80) { + /* WCHAR */ + if (CHMODE(CurrentMode) == C_WCHAR1) { + /* WCHAR second byte */ addch(*s); i++; } - } - else { /* Ascii or WCHAR2 */ + } else { + /* Ascii or WCHAR2 */ addch(*s); i++; } @@ -1677,8 +1672,7 @@ #if defined(USE_GPM) || defined(USE_SYSMOUSE) if (mouseActive) return; -#endif /* defined(USE_GPM) || * * * * * - * defined(USE_SYSMOUSE) */ +#endif /* defined(USE_GPM) || defined(USE_SYSMOUSE) */ term = getenv("TERM"); #ifdef USE_GPM if (!strncmp(term, "kterm", 5) || !strncmp(term, "xterm", 5)) { diff -rU3 -bBw -x CVS w3m-0.1.9/url.c w3m.new/url.c --- w3m-0.1.9/url.c Fri Apr 21 13:43:33 2000 +++ w3m.new/url.c Fri Apr 21 15:06:26 2000 @@ -38,7 +38,7 @@ static JMP_BUF AbortLoading; -/* XXX: note html.h SCM_* */ +/* XXX: note html.h SCM_*/ static int DefaultPort[] = { @@ -512,7 +512,7 @@ } #endif #ifdef CYGWIN - goto analyze_file; /* file://DRIVE/foo or * * * + goto analyze_file; /* file://DRIVE/foo or * file://machine/share/foo */ #endif /* CYGWIN */ } @@ -567,7 +567,7 @@ analyze_file: if (p_url->scheme == SCM_LOCAL && p_url->user == NULL && p_url->host != NULL && strcmp(p_url->host, "localhost")) { - p_url->scheme = SCM_FTP; /* ftp://host/... * */ + p_url->scheme = SCM_FTP; /* ftp://host/... */ if (p_url->port == 0) p_url->port = DefaultPort[SCM_FTP]; } @@ -610,16 +610,20 @@ * treatment will apply to # for convinience. */ if (p > q && *(p - 1) == '/' && (cgi == NULL || p < cgi)) { - /* # comes as the first character of the * file name */ - /* that means, # is not a label but a part * of the */ - /* file name. * */ + /* + * # comes as the first character of the file name + * that means, # is not a label but a part of the file + * name. + */ p++; goto again; } else if (*(p + 1) == '\0') { - /* # comes as the last character of the * file name */ - /* that means, # is not a label but a part * of the */ - /* file name. * */ + /* + * # comes as the last character of the file name that + * means, # is not a label but a part of the file + * name. + */ p++; } } @@ -1094,7 +1098,7 @@ if (sock < 0) return uf; uf.scheme = SCM_HTTP; - tmp = HTTPrequest(pu, current, &hr, NULL); + tmp = HTTPrequest(pu, current, &hr, extra_header); write(sock, tmp->ptr, tmp->length); } else { @@ -1229,7 +1233,7 @@ if (sock < 0) return uf; uf.scheme = SCM_HTTP; - tmp = HTTPrequest(pu, current, &hr, NULL); + tmp = HTTPrequest(pu, current, &hr, extra_header); } else { sock = openSocket(pu->host,



This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:55 CDT