diff options
author | Ed Maste <emaste@FreeBSD.org> | 2015-07-03 16:57:06 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2015-07-03 16:57:06 +0000 |
commit | 5e95aa85bb660d45e9905ef1d7180b2678280660 (patch) | |
tree | 3c2e41c3be19b7fc7666ed45a5f91ec3b6e35f2a /source/Core/UUID.cpp | |
parent | 12bd4897ff0678fa663e09d78ebc22dd255ceb86 (diff) |
Diffstat (limited to 'source/Core/UUID.cpp')
-rw-r--r-- | source/Core/UUID.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Core/UUID.cpp b/source/Core/UUID.cpp index c1b3eb13d656..88290d137943 100644 --- a/source/Core/UUID.cpp +++ b/source/Core/UUID.cpp @@ -234,7 +234,10 @@ UUID::SetFromCString (const char *cstr, uint32_t num_uuid_bytes) // If we successfully decoded a UUID, return the amount of characters that // were consumed if (uuid_byte_idx == num_uuid_bytes) + { + m_num_uuid_bytes = num_uuid_bytes; return p - cstr; + } // Else return zero to indicate we were not able to parse a UUID value return 0; |