aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPär Björklund <per.bjorklund@gmail.com>2021-10-21 09:07:25 +0200
committerPär Björklund <per.bjorklund@gmail.com>2021-10-21 09:07:25 +0200
commitffbcbcc893cf2dd3ad5847dedc0c5a5707899d7f (patch)
treea7c2a136a068020ee906697673aa27dc2be568fb /lib
parent1469f2bacd47dfcc0e71cf0d8b4b6643932aba59 (diff)
Fix dumb mistake during refactoring that broke upnp server
Diffstat (limited to 'lib')
-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;
}