Crash fixed
authorAlex Kirhenshtein <alk@netxms.org>
Thu, 4 Apr 2013 09:28:50 +0000 (09:28 +0000)
committerAlex Kirhenshtein <alk@netxms.org>
Thu, 4 Apr 2013 09:28:50 +0000 (09:28 +0000)
src/server/libnxsrv/ndd.cpp

index 7ebcf44..f6e0d14 100644 (file)
@@ -50,7 +50,7 @@ AccessPointInfo::~AccessPointInfo()
 void AccessPointInfo::addRadioInterface(RadioInterfaceInfo *iface)\r
 {\r
        RadioInterfaceInfo *r = new RadioInterfaceInfo;\r
-       memcpy(&r, iface, sizeof(RadioInterfaceInfo));\r
+       memcpy(r, iface, sizeof(RadioInterfaceInfo));\r
        m_radioInterfaces->add(r);\r
 }\r
 \r