[Zrouter-src] ZRouter.org: push to zconf++ zconf++/zrouterhttp.cc
zrouter-src at zrouter.org
zrouter-src at zrouter.org
Mon Jan 9 15:47:11 UTC 2012
details: /rev/a74ad84b8250
changeset: 33:a74ad84b8250
user: "Nicolai Petri <nicolai at petri.dk>"
date: Mon Jan 09 16:22:24 2012 +0100
description:
Fix bug introduced in previous commit where extensions where registered in the model by priority and not by name.
diffstat:
zconf++/zrouterhttp.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6af26c1b5997 -r a74ad84b8250 zconf++/zrouterhttp.cc
--- a/zconf++/zrouterhttp.cc Mon Jan 09 16:19:50 2012 +0100
+++ b/zconf++/zrouterhttp.cc Mon Jan 09 16:22:24 2012 +0100
@@ -110,7 +110,7 @@
extObj["version"] = "unknown";
extObj["vendor"] = "unknown";
- model["system"]["extensions"][(*ext_ptr).first] = extObj;
+ model["system"]["extensions"][(*ext_ptr).second.name] = extObj;
(*ext_ptr).second.initializer(io, model);
ext_ptr++;
}
More information about the Zrouter-src
mailing list