We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91f96df commit 2648005Copy full SHA for 2648005
src/platform/Linux/KeyValueStoreManagerImpl.cpp
@@ -52,7 +52,7 @@ CHIP_ERROR KeyValueStoreManagerImpl::_Get(const char * key, void * value, size_t
52
{
53
return CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND;
54
}
55
- else if (err != CHIP_NO_ERROR)
+ else if ((err != CHIP_NO_ERROR) && (err != CHIP_ERROR_BUFFER_TOO_SMALL))
56
57
return err;
58
0 commit comments