summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 296384e)
raw | patch | inline | side by side (parent: 296384e)
author | Florian Forster <octo@huhu.verplant.org> | |
Sun, 5 Dec 2010 11:05:18 +0000 (12:05 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sun, 5 Dec 2010 11:05:18 +0000 (12:05 +0100) |
src/common.c | patch | blob | history |
diff --git a/src/common.c b/src/common.c
index ae57c43310d21d56fd115ccf105a77dd9ae98c2b..65dee72d7a8517fe5560689d6c22107fb19d47c9 100644 (file)
--- a/src/common.c
+++ b/src/common.c
break;
case DS_TYPE_DERIVE:
- ret_value->counter = (derive_t) strtoll (value, &endptr, 0);
+ ret_value->derive = (derive_t) strtoll (value, &endptr, 0);
break;
case DS_TYPE_ABSOLUTE:
- ret_value->counter = (absolute_t) strtoull (value, &endptr, 0);
+ ret_value->absolute = (absolute_t) strtoull (value, &endptr, 0);
break;
default: