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
- From: Ralf Haferkamp <rhafer@xxxxxxx>
- Date: Tue, 14 Jun 2011 14:54:43 +0200
- Message-id: <201106141454.43814.rhafer@suse.de>
Am Freitag 10 Juni 2011, 16:37:02 schrieb Martin Vidner:
[..]
--
Ralf
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
[..]
Ooops. Yes you are right. Thanks for catching that.===================================================================
=========== ---
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.
--
Ralf
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
| < Previous | Next > |