First patch removes some unused code relates to cookies. Second one removes commented code in dpi/cookies.c I am sorry, them were my fault. Patchs works with current cvs. Diego. 8<------------------------------------------------------------------- diff -pru dillo-0.8.6-pre-cvs20060129/src/IO/dpi.c dillo-work/src/IO/dpi.c --- dillo-0.8.6-pre-cvs20060129/src/IO/dpi.c 2006-01-06 00:38:05.000000000 +0100 +++ dillo-work/src/IO/dpi.c 2006-02-13 03:59:11.000000000 +0100 @@ -256,11 +256,6 @@ static void Dpi_parse_token(conn_data_t a_Chain_fcb(OpSend, conn->InfoRecv, msg, cmd); g_free(msg); - } else if (strcmp(cmd, "get_cookie_answer") == 0) { - msg = a_Dpip_get_attr(conn->Buf + conn->TokIdx, conn->TokSize, "cookie"); - a_Chain_fcb(OpSend, conn->InfoRecv, msg, cmd); - g_free(msg); - } else if (strcmp(cmd, "dialog") == 0) { /* For now will send the dpip tag... */ a_Chain_fcb(OpSend, conn->InfoRecv, tag, cmd); 8<------------------------------------------------------------------- diff -pru dillo-0.8.6-pre-cvs20060129/dpi/cookies.c dillo-work/dpi/cookies.c --- dillo-0.8.6-pre-cvs20060129/dpi/cookies.c 2006-01-21 04:00:27.000000000 +0100 +++ dillo-work/dpi/cookies.c 2006-02-13 04:12:45.000000000 +0100 @@ -1375,10 +1375,7 @@ static int srv_parse_buf(SockHandler *sh g_free(host); cmd = a_Dpip_build_cmd("cmd=%s cookie=%s", "get_cookie_answer", cookie); -/* - cmd = g_strdup_printf("<dpi cmd='get_cookie_answer' cookie='%s'>", - cookie); -*/ + if (sock_handler_write_str(sh, cmd, 1)) { g_free(cookie); g_free(cmd);
The second patch do not seems to be in the cvs. Diego. El Mon, 13 Feb 2006 10:20:02 -0300 Jorge Arellano Cid <jcid@dillo.org> escribio:
On Mon, Feb 13, 2006 at 04:36:27AM +0100, Diego Sáenz wrote:
First patch removes some unused code relates to cookies. Second one removes commented code in dpi/cookies.c
I am sorry, them were my fault. Patchs works with current cvs.
Done! :-)
-- Cheers Jorge.-
_______________________________________________ Dillo-dev mailing list Dillo-dev@dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
participants (2)
-
Diego Sáenz
-
Jorge Arellano Cid