$Log$
+Revision 410.18 2003/05/02 03:23:41 ajc
+* Minor change to room list algorithm
+
Revision 410.17 2003/05/01 15:33:05 ajc
* Fixed a potential memory leak in enumeration of MIME parts
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
char rmname[64];
int f;
- if (rp == NULL)
+ if (rp == NULL) {
return;
-
- if (rp->lnext != NULL) {
- room_tree_list(rp->lnext);
}
+
+ room_tree_list(rp->lnext);
+
strcpy(rmname, rp->rlname);
f = rp->rlflags;
wprintf(">");
wprintf("</A><TT> </TT>\n");
- if (rp->rnext != NULL) {
- room_tree_list(rp->rnext);
- }
+ room_tree_list(rp->rnext);
free(rp);
}
{
struct urlcontent *u;
- lprintf(5, "UPLOAD HANDLER CALLED\n");
- lprintf(5, " name = %s\n", name);
- lprintf(5, " filename = %s\n", filename);
- lprintf(5, " encoding = %s\n", encoding);
- lprintf(5, " type = %s\n", cbtype);
- lprintf(5, " length = %ld\n", (long)length);
- lprintf(5, "disposition = %s\n", disp);
+ lprintf(5, "Upload handler called: %s, %ld bytes\n",
+ cbtype, (long)length);
/* Form fields */
if ( (length > 0) && (strlen(cbtype) == 0) ) {