请帮忙解释下这段代码是什么意思解决思路
请帮忙解释下这段代码是什么意思
if(!outputBuffer.AddToEnd(f80211MbssUserControl))
{
gErrorMsg(fMessageLogSettings, "WriteToImpl")
<< "Buffer too small to hold all of the settings!" << endl;
return false;
}
------解决方案--------------------
不知道你的函数outputBuffer.AddToEnd(f80211MbssUserControl)具体功能是什么,if实现的是如果函数执行不成功,生成错误信息LOG
if(!outputBuffer.AddToEnd(f80211MbssUserControl))
{
gErrorMsg(fMessageLogSettings, "WriteToImpl")
<< "Buffer too small to hold all of the settings!" << endl;
return false;
}
------解决方案--------------------
不知道你的函数outputBuffer.AddToEnd(f80211MbssUserControl)具体功能是什么,if实现的是如果函数执行不成功,生成错误信息LOG