View | Details | Raw Unified | Return to bug 49930 | Differences between
and this patch

Collapse All | Expand All

(-)openldap-2.4.45+dfsg.o/debian/patches/99_preferredDeliveryMethod_syntax.patch (+27 lines)
Line 0    Link Here 
1
--- openldap-2.4.45+dfsg.orig/servers/slapd/schema_init.c
2
+++ openldap-2.4.45+dfsg/servers/slapd/schema_init.c
3
@@ -5943,18 +5943,18 @@ again:
4
 	if( BER_BVISEMPTY( &tmp ) ) return LDAP_SUCCESS;
5
 
6
 	while( !BER_BVISEMPTY( &tmp ) && ( tmp.bv_val[0] == ' ' ) ) {
7
-		tmp.bv_len++;
8
-		tmp.bv_val--;
9
+		tmp.bv_len--;
10
+		tmp.bv_val++;
11
 	}
12
 	if( !BER_BVISEMPTY( &tmp ) && ( tmp.bv_val[0] == '$' ) ) {
13
-		tmp.bv_len++;
14
-		tmp.bv_val--;
15
+		tmp.bv_len--;
16
+		tmp.bv_val++;
17
 	} else {
18
 		return LDAP_INVALID_SYNTAX;
19
 	}
20
 	while( !BER_BVISEMPTY( &tmp ) && ( tmp.bv_val[0] == ' ' ) ) {
21
-		tmp.bv_len++;
22
-		tmp.bv_val--;
23
+		tmp.bv_len--;
24
+		tmp.bv_val++;
25
 	}
26
 
27
 	goto again;
(-)openldap-2.4.45+dfsg.o/debian/patches/series (+1 lines)
Line 1000    Link Here 
1000
99_preferredDeliveryMethod_syntax.patch

Return to bug 49930