From 150fe09d4e1b32e44945f4022a224282a01f597e Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 25 Nov 2007 17:13:56 +0000 Subject: [PATCH] Allow to find the scripts on PETSCII machines. --- apps/webserver/httpd-cgi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/webserver/httpd-cgi.c b/apps/webserver/httpd-cgi.c index 1d6939cbc..96b2db25d 100644 --- a/apps/webserver/httpd-cgi.c +++ b/apps/webserver/httpd-cgi.c @@ -28,7 +28,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: httpd-cgi.c,v 1.8 2007/11/17 21:12:44 oliverschmidt Exp $ + * $Id: httpd-cgi.c,v 1.9 2007/11/25 17:13:56 oliverschmidt Exp $ * */ @@ -239,8 +239,11 @@ HTTPD_CGI_CALL(proc, "processes", processes); void httpd_cgi_init(void) { + petsciiconv_toascii((char *)file.name, strlen(file.name)); httpd_cgi_add(&file); + petsciiconv_toascii((char *)tcp.name, strlen(tcp.name)); httpd_cgi_add(&tcp); + petsciiconv_toascii((char *)proc.name, strlen(proc.name)); httpd_cgi_add(&proc); } /*---------------------------------------------------------------------------*/