aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libUPnP/Platinum/Source/Core/PltUtilities.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libUPnP/Platinum/Source/Core/PltUtilities.h b/lib/libUPnP/Platinum/Source/Core/PltUtilities.h
index ca9a7bcd5a..4677f5be0e 100644
--- a/lib/libUPnP/Platinum/Source/Core/PltUtilities.h
+++ b/lib/libUPnP/Platinum/Source/Core/PltUtilities.h
@@ -141,7 +141,7 @@ public:
const NPT_String* text = child->GetText();
// DLNA 7.3.17
if (text)
- text->SubString(0, max_size);
+ value = text->SubString(0, max_size);
return NPT_SUCCESS;
}