*/
#define CITADEL PACKAGE_STRING
-#define REV_LEVEL 935 // This version
+#define REV_LEVEL 936 // This version
#define REV_MIN 591 // Oldest compatible database
#define EXPORT_REV_MIN 931 // Oldest compatible export files
#define LIBCITADEL_MIN 931 // Minimum required version of libcitadel
} while (r > l);
// Transform all qualifying delimiters to commas
- for (char *t=a; t[0]; ++t) {
+ char *t;
+ for (t=a; t[0]; ++t) {
if ((t[0]==';') || (t[0]=='|')) {
t[0]=',';
}
}
int num_addresses = num_tokens(a, ',');
- for (int i=0; i<num_addresses; ++i) {
+ int i;
+ for (i=0; i<num_addresses; ++i) {
char this_address[256];
extract_token(this_address, a, i, ',', sizeof this_address);
striplt(this_address); // strip leading and trailing whitespace
char *aliases = CtdlGetSysConfig(GLOBAL_ALIASES); // First hit the Global Alias Table
- for (int r=0; (recp_array && r<array_len(recp_array)); ++r) {
+ int r;
+ for (r=0; (recp_array && r<array_len(recp_array)); ++r) {
org_recp = (char *)array_get_element_at(recp_array, r);
strncpy(this_recp, org_recp, sizeof this_recp);
- for (int i=0; i<3; ++i) { // pass three times through the aliaser
+ int i;
+ for (i=0; i<3; ++i) { // pass three times through the aliaser
mailtype = expand_aliases(this_recp, aliases);
// If an alias expanded to multiple recipients, strip off those recipients and append them
}
// This loop searches for duplicate recipients in the final list and marks them to be skipped.
- for (int j=0; j<r; ++j) {
+ int j;
+ for (j=0; j<r; ++j) {
if (!strcasecmp(this_recp, (char *)array_get_element_at(recp_array, j) )) {
mailtype = EA_SKIP;
}
echo -e '\033[37m\033[1mGenerating a commit\033[0m'
echo -e ''
git commit -a -m "Release version ${NEW_VERSION} generated by do-release.sh"
+git tag -a v${NEW_VERSION}
echo -e ''
echo -e '\033[37m\033[1mFinished. Remember to push this commit.\033[0m'
#define PORT_NUM 80 /* port number to listen on */
#define DEVELOPER_ID 0
#define CLIENT_ID 4
-#define CLIENT_VERSION 935 /* This version of WebCit */
+#define CLIENT_VERSION 936 /* This version of WebCit */
#define MINIMUM_CIT_VERSION 931 /* Minimum required version of Citadel server */
#define LIBCITADEL_MIN 931 /* Minimum required version of libcitadel */
#define DEFAULT_HOST "localhost" /* Default Citadel server */