summaryrefslogtreecommitdiffstats
path: root/cpukit/httpd/webpage.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/httpd/webpage.c')
-rw-r--r--cpukit/httpd/webpage.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/httpd/webpage.c b/cpukit/httpd/webpage.c
index d2b976e38f..efac13f508 100644
--- a/cpukit/httpd/webpage.c
+++ b/cpukit/httpd/webpage.c
@@ -1,7 +1,7 @@
/*
* Page.c -- Support for page retrieval.
*
- * Copyright (c) Go Ahead Software Inc., 1995-1999. All Rights Reserved.
+ * Copyright (c) GoAhead Software Inc., 1995-2000. All Rights Reserved.
*
* See the file "license.txt" for usage and redistribution license requirements
*/
@@ -41,6 +41,8 @@ int websPageOpen(webs_t wp, char_t *lpath, char_t *path, int mode, int perm)
void websPageClose(webs_t wp)
{
+ a_assert(websValid(wp));
+
#if WEBS_PAGE_ROM
websRomPageClose(wp->docfd);
#else