summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2012-04-11 22:49:50 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2012-04-11 22:49:50 (GMT)
commit3c887c55d7e9e75295a4e8bc03a7eb379bc748de (patch)
treeff4e07694c09cef96aeb7b6c3540c43dd68473e6
parent6730ce67969d770f3b2040e010263bc5af022d8f (diff)
downloadlibkolabxml-3c887c55d7e9e75295a4e8bc03a7eb379bc748de.tar.gz
fixed typo
-rw-r--r--src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 9249116..ffbbea0 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -112,7 +112,7 @@ std::string getUID(const std::string &s)
char * __attribute__((__may_alias__)) str = 0;
uuid_create(&uuid);
uuid_make(uuid, UUID_MAKE_V1);
- uuid_export(uuid, UUID_FMT_STR, (void**)&str.v, 0);
+ uuid_export(uuid, UUID_FMT_STR, (void**)&str, 0);
uuid_destroy(uuid);
return std::string(str, 36); //We don't need the terminating \0