Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/pods/impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,15 +493,16 @@ int get_id_pstore(int id_chk, char *id_type) {

// Return based on id_chk
if (id_chk == 0) {
if (foundAccount) {

if ((foundAccount) && (accountId[0] != '\0')) {
cpeabStrncpy(id_type, accountId, BFR_SIZE_64*sizeof(char));
return RETURN_OK;
} else {
WebcfgDebug("Not able to parse accountID\n");
return RETURN_ERR;
}
} else if (id_chk == 1) {
if (foundPartner) {
if ((foundPartner) && (partnerId[0] != '\0')) {
cpeabStrncpy(id_type, partnerId, BFR_SIZE_64*sizeof(char));
return RETURN_OK;
} else {
Expand Down