/[smeserver]/rpms/cpu/sme9/cpu-1.4.3-empty-attr.patch
ViewVC logotype

Annotation of /rpms/cpu/sme9/cpu-1.4.3-empty-attr.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Jan 31 21:49:15 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: cpu-1_4_3-13_el6_sme, cpu-1_4_3-14_el6_sme, HEAD
Initial import

1 slords 1.1 diff -up cpu-1.4.3/src/plugins/ldap/ld.c.empty-attr cpu-1.4.3/src/plugins/ldap/ld.c
2     --- cpu-1.4.3/src/plugins/ldap/ld.c.empty-attr 2010-11-05 21:18:12.000000000 -0600
3     +++ cpu-1.4.3/src/plugins/ldap/ld.c 2010-11-05 21:19:48.000000000 -0600
4     @@ -282,7 +282,10 @@ ldapBuildListStr (int mod_op, char *mod_
5     {
6     char **temp;
7    
8     - if (value == NULL)
9     + if (mod_type == NULL || strlen(mod_type) == strspn(mod_type, " "))
10     + return mods;
11     +
12     + if (value == NULL || strlen(value) == strspn(value, " "))
13     return mods;
14    
15     mods = ldapAddList (mods);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed