Am Freitag 10 Juni 2011, 16:37:02 schrieb Martin Vidner: [..]
=================================================================== =========== --- branches/SuSE-Code-11-SP2-Branch/ldap-server/src/agent/SlapdConfigA gent.cc (original) +++ branches/SuSE-Code-11-SP2-Branch/ldap-server/src/agent/SlapdConfigA gent.cc Fri Jun 10 11:08:25 2011 @@ -961,10 +961,7 @@
resMap.add( YCPString("target"), YCPString( updateUrl.getHost() ) ); resMap.add( YCPString("port"), YCPInteger( updateUrl.getPort() ) );
}
- else - { - resMap.add( YCPString("updateref"), YCPMap() ); - } + resMap = YCPNull();
return resMap;
}
This seems wrong, you're overwriting the resMap from the "if" branch. Ooops. Yes you are right. Thanks for catching that.
-- Ralf -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org