Displaying 2 results from an estimated 2 matches for "max_modifier_count".
2006 Jul 19
2
[PATCH]
...dovecot-1.0.rc2.mod/src/lib/var-expand.c 2006-07-19 19:35:25.821041184 +0200
@@ -11,7 +11,8 @@
#include <stdlib.h>
struct var_expand_context {
- unsigned int offset, width;
+ int offset;
+ unsigned int width;
};
struct var_expand_modifier {
@@ -109,6 +110,7 @@
const char *(*modifier[MAX_MODIFIER_COUNT])
(const char *, struct var_expand_context *);
unsigned int i, modifier_count;
+ int sign = 1;
bool zero_padding = FALSE;
memset(&ctx, 0, sizeof(ctx));
@@ -120,12 +122,16 @@
/* [<offset>.]<width>[<modifiers>]<variable> */
ctx.width = 0;
+ if (*str...
2006 Jul 24
2
[PATCH] Substitution of dots to ", dc=" in variable expansions
Hi list,
my ldap directory uses DNs like this:
uid=solist,ou=People,dc=solistland,dc=net,ou=Virtuals
but I only could use something like
uid=solist,ou=People,dc=solistland.net,ou=Virtuals
with dovecot, which obviously isn't what the dcObject object class was
meant to present.
I've written a small function for var-expand.c which introduces a new
modifier for string variable