diff --git a/apps/webserver/urlconv.c b/apps/webserver/urlconv.c index 55f05a252..29585c895 100644 --- a/apps/webserver/urlconv.c +++ b/apps/webserver/urlconv.c @@ -30,7 +30,7 @@ * * Author: Kajtar Zsolt * - * $Id: urlconv.c,v 1.3 2010/09/28 20:40:52 oliverschmidt Exp $ + * $Id: urlconv.c,v 1.4 2010/09/29 09:35:56 oliverschmidt Exp $ */ #include @@ -139,7 +139,7 @@ urlconv_tofilename(char *dest, char *source, unsigned char maxlen) *to = c; } } while(c); - if(*to == ISO_slash && (len + sizeof(http_index_html) - 3) < maxlen) { + if(*to == ISO_slash && (len + sizeof(http_index_htm) - 3) < maxlen) { strcpy(to, http_index_htm); // add index.htm } else { ++to;