Hi guys:
   html file for "dir index" prefer to be completed. it should be end with
"</html>",so I add a segment to function "read_dir" in file "io_dir.c"
------------------------------------
        } while (dp != NULL);

/* Add by tangwenmin */
        n = my_snprintf(line,sizeof(line),
                "</table>\n</body>\n</html>");
        memcpy(buf,line,n);
        buf=(char*)buf +n;
        nwritten +=n;
/*end add*/

        return (nwritten);
------------------------------------
Is it OK!

Tangwenmin
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general

Reply via email to