diff options
author | Stephen D. Huston <shuston@apache.org> | 2008-11-11 22:34:31 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2008-11-11 22:34:31 +0000 |
commit | 4822eacb635684080df1d40e3584b6c56205a605 (patch) | |
tree | a4c07a4566e97aafe64635ef23799621c4527230 /cpp | |
parent | 6a7ce9f51dfe48bd8c09099d030a02e89f17957c (diff) | |
download | qpid-python-4822eacb635684080df1d40e3584b6c56205a605.tar.gz |
Correct returned value on successful parse
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713201 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/qpid/sys/windows/uuid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/windows/uuid.cpp b/cpp/src/qpid/sys/windows/uuid.cpp index 76233751ff..92f60e04b1 100644 --- a/cpp/src/qpid/sys/windows/uuid.cpp +++ b/cpp/src/qpid/sys/windows/uuid.cpp @@ -41,7 +41,7 @@ int uuid_is_null (const uuid_t uu) { } int uuid_parse (const char *in, uuid_t uu) { - return UuidFromString ((unsigned char*)in, (UUID*)uu) == RPC_S_OK; + return UuidFromString ((unsigned char*)in, (UUID*)uu) == RPC_S_OK ? 0 : -1; } void uuid_unparse (const uuid_t uu, char *out) { |