Changeset 159 in Main for trunk


Ignore:
Timestamp:
Sep 25, 2024, 9:56:45 PM (7 weeks ago)
Author:
Nishi
Message:

some fix

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r158 r159  
    11
    2 Tewi HTTPd version 1.07
     2Tewi HTTPd version 1.07A
    33
    44Original by Nishi <nishi@nishi.boats>
  • trunk/Server/module.c

    r156 r159  
    5959void tw_add_define(const char* string) {
    6060        int i;
     61        for(i = 0; config.defined[i] != NULL; i++) {
     62                if(strcmp(config.defined[i], string) == 0) {
     63                        return;
     64                }
     65        }
    6166        for(i = 0; config.defined[i] != NULL; i++)
    6267                ;
     
    7378                                config.defined[i] = config.defined[i + 1];
    7479                        }
     80                        break;
    7581                }
    7682        }
  • trunk/Server/tw_version.h

    r156 r159  
    88#endif
    99
    10 #define TW_VERSION "1.07\0"
     10#define TW_VERSION "1.07A\0"
    1111
    1212const char* tw_get_version(void);
Note: See TracChangeset for help on using the changeset viewer.