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 | cf3f672892f91c802c5e7316081211ecdfa02bee (patch) | |
| tree | 66ff991ee2404145f08c75c1eca729b283741ad2 | |
| parent | c1576b4f2274eae9197bd418cf7d430ee630edf6 (diff) | |
| download | qpid-python-cf3f672892f91c802c5e7316081211ecdfa02bee.tar.gz | |
Correct returned value on successful parse
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@713201 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | qpid/cpp/src/qpid/sys/windows/uuid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/sys/windows/uuid.cpp b/qpid/cpp/src/qpid/sys/windows/uuid.cpp index 76233751ff..92f60e04b1 100644 --- a/qpid/cpp/src/qpid/sys/windows/uuid.cpp +++ b/qpid/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) { |
