OpenCores
URL https://opencores.org/ocsvn/plasma/plasma/trunk

Subversion Repositories plasma

[/] [plasma/] [trunk/] [kernel/] [http.c] - Diff between revs 400 and 416

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 400 Rev 416
Line 95... Line 95...
            page = (char*)HtmlPages[i].page;
            page = (char*)HtmlPages[i].page;
            len = (int)strlen(name);
            len = (int)strlen(name);
            if(strncmp((char*)buf+4, name, len) == 0)
            if(strncmp((char*)buf+4, name, len) == 0)
               break;
               break;
         }
         }
#if defined(WIN32) || defined(INCLUDE_FILESYS)
#ifndef EXCLUDE_FILESYS
         if(length == HTML_LENGTH_LIST_END && HtmlFiles)
         if(length == HTML_LENGTH_LIST_END && HtmlFiles)
         {
         {
            FILE *file;
            FILE *file;
            char *ptr;
            char *ptr;
 
 
Line 135... Line 135...
               IPWriteFlush(socket);
               IPWriteFlush(socket);
               IPClose(socket);
               IPClose(socket);
               return;
               return;
            }
            }
         }
         }
#endif
#endif //!EXCLUDE_FILESYS
         if(length != HTML_LENGTH_LIST_END)
         if(length != HTML_LENGTH_LIST_END)
         {
         {
            if(length == HTML_LENGTH_CALLBACK)
            if(length == HTML_LENGTH_CALLBACK)
            {
            {
               IPCallbackPtr funcPtr = (IPCallbackPtr)(uint32)page;
               IPCallbackPtr funcPtr = (IPCallbackPtr)(uint32)page;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.