index 066557ad55b22f05fe73a95867da97650a6dfdcf..2df35e8abf2115a3eb127c9af449b445b4e9897d 100644 (file)
if (MessageUtilities::findTag(buf, msg)) {
oldval = Util::share_string(buf.data.c_str());
} else {
- oldval = Util::share_static("");
+ oldval = Util::share_static_string("");
}
buf.tag = MESSAGE_NEWVAL;
if (MessageUtilities::findTag(buf, msg)) {
newval = Util::share_string(buf.data.c_str());
} else {
- newval = Util::share_static("");
+ newval = Util::share_static_string("");
}
// 3. Find the node identified by the ID. If we cannot find it, return.
if (MessageUtilities::findTag(buf, msg)) {
newval = Util::share_string(buf.data.c_str());
} else {
- newval = Util::share_static("");
+ newval = Util::share_static_string("");
}
// 3. Extract optional attributes: old value. If we do not find it in the message,
if (MessageUtilities::findTag(buf, msg)) {
oldval = Util::share_string(buf.data.c_str());
} else {
- oldval = Util::share_static("");
+ oldval = Util::share_static_string("");
}
// 4. Look up this node in the local node database and external tracker.