git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed compilation issues
[stg.git]
/
projects
/
stargazer
/
plugins
/
other
/
smux
/
handlers.cpp
diff --git
a/projects/stargazer/plugins/other/smux/handlers.cpp
b/projects/stargazer/plugins/other/smux/handlers.cpp
index bc8b60eb6ab721d73a3628bf00b134736bbc6618..19304c52245e1ed9abe0b18a1f423e7cf3fbc4eb 100644
(file)
--- a/
projects/stargazer/plugins/other/smux/handlers.cpp
+++ b/
projects/stargazer/plugins/other/smux/handlers.cpp
@@
-1,7
+1,7
@@
-#include "
asn1
/GetRequest-PDU.h"
-#include "
asn1
/GetResponse-PDU.h"
-#include "
asn1
/VarBindList.h"
-#include "
asn1
/VarBind.h"
+#include "
stg
/GetRequest-PDU.h"
+#include "
stg
/GetResponse-PDU.h"
+#include "
stg
/VarBindList.h"
+#include "
stg
/VarBind.h"
#include "stg/common.h"
#include "stg/common.h"
@@
-77,7
+77,7
@@
for (int i = 0; i < vbl->list.count; ++i)
{
VarBind_t * vb = getRequest->variable_bindings.list.array[i];
Sensors::iterator it;
{
VarBind_t * vb = getRequest->variable_bindings.list.array[i];
Sensors::iterator it;
- it = sensors.find(OI
2String
(&vb->name));
+ it = sensors.find(OI
D
(&vb->name));
if (it == sensors.end())
{
SendGetResponseErrorPDU(sock, getRequest,
if (it == sensors.end())
{
SendGetResponseErrorPDU(sock, getRequest,
@@
-117,7
+117,7
@@
for (int i = 0; i < vbl->list.count; ++i)
{
VarBind_t * vb = getRequest->variable_bindings.list.array[i];
Sensors::iterator it;
{
VarBind_t * vb = getRequest->variable_bindings.list.array[i];
Sensors::iterator it;
- it = sensors.upper_bound(OI
2String
(&vb->name));
+ it = sensors.upper_bound(OI
D
(&vb->name));
if (it == sensors.end())
{
SendGetResponseErrorPDU(sock, getRequest,
if (it == sensors.end())
{
SendGetResponseErrorPDU(sock, getRequest,