#include <ctype.h>
#include "cond.tab.h"
-#include "brum.h"
+#include "umpf.h"
#define OVECCOUNT 3
#define HASHSIZE 103
struct variable *p;
n = get_bucket_number(name);
- int nocase = !isupper(*name);
+ int nocase = isupper(*name);
LIST_FOREACH(p, hash + n)
if (!(nocase ? strcasecmp : strcmp)(p->name,name)){
if (value){
modify_headers(current_headers, hash);
a->e.headers = copy_headers(current_headers);
+ a->e.body_len = current_body->body_len;
+ a->e.body = xmalloc(a->e.body_len);
+ memcpy(a->e.body, current_body->body, a->e.body_len);
a->l = l;
a->r = r;
a->s = s;
}
}
+
+void
+get_default_mailbox(char* mb)
+{
+ default_mailbox = mb;
+}