Mailinglist Archive: yast-devel (121 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] r64312 - /branches/SuSE-Code-11-SP2-Branch/ldap-server/src/agent/SlapdConfigAgent.cc
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References