]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/handlers.cpp
Pass config file via const reference in sgauth/sgathstress settings
[stg.git] / projects / stargazer / plugins / other / smux / handlers.cpp
index 19304c52245e1ed9abe0b18a1f423e7cf3fbc4eb..b2292bda2cf6bffc6aef903b0918b5963af13a07 100644 (file)
@@ -128,7 +128,7 @@ for (int i = 0; i < vbl->list.count; ++i)
     VarBind_t newVb;
     memset(&newVb, 0, sizeof(newVb));
 
-    newVb.name = vb->name;
+    it->first.ToOID(&newVb.name);
     it->second->GetValue(&newVb.value);
 
     ASN_SEQUENCE_ADD(varBindList, &newVb);