From b968359d41d7a0a63a6c8e86f914d1a580ffdafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 20 Apr 1998 06:38:38 +0200 Subject: [PATCH] Bugfixes. Removed debug output. Rev: lib/modules/Tools.pmod/PEM.pmod:1.2 --- lib/modules/Tools.pmod/PEM.pmod | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/modules/Tools.pmod/PEM.pmod b/lib/modules/Tools.pmod/PEM.pmod index e1987e6e40..d0f60ada34 100644 --- a/lib/modules/Tools.pmod/PEM.pmod +++ b/lib/modules/Tools.pmod/PEM.pmod @@ -111,8 +111,10 @@ class rfc934 { initial_text = current; else { +#ifdef PEM_DEBUG werror(sprintf("boundary='%s'\ncurrent='%s'\n", boundary, current)); +#endif encapsulated += ({ encapsulated_message()->init(boundary, current) }); } @@ -169,7 +171,7 @@ class pem_msg object msg = rfc934()->init(s); parts = ([ ]); - parts->initial_text = msg->initial_text; + initial_text = msg->initial_text; for(int i = 0; i<sizeof(msg->encapsulated); i += 2 ) { @@ -196,7 +198,7 @@ class pem_msg { /* This was the last section. Use the final_boundary. */ res = end_pem_re->split(msg->get_final_boundary()); - parts->final_text = msg->final_text; + final_text = msg->final_text; } if (!res || (res[0] != name)) -- GitLab