Fix the module name macro to not end in "-" when there is no "-rc", etc.

This commit is contained in:
brectanus
2008-03-04 22:40:35 +00:00
parent 628321bb86
commit abbab078d5
2 changed files with 12 additions and 9 deletions

View File

@@ -17,12 +17,12 @@
#include "msc_util.h"
modsec_build_type_rec DSOLOCAL modsec_build_type[] = {
{ "dev", 1 }, /* Development build */
{ "rc", 3 }, /* Release Candidate build */
{ "", 9 }, /* Production build */
{ "breach", 9 }, /* Breach build */
{ "trunk", 9 }, /* Trunk build */
{ NULL, -1 } /* terminator */
{ "-dev", 1 }, /* Development build */
{ "-rc", 3 }, /* Release Candidate build */
{ "", 9 }, /* Production build */
{ "-breach", 9 }, /* Breach build */
{ "-trunk", 9 }, /* Trunk build */
{ NULL, -1 } /* terminator */
};
/**