diff options
| author | Igor Pashev <pashev.igor@gmail.com> | 2012-04-28 01:28:48 +0400 |
|---|---|---|
| committer | Igor Pashev <pashev.igor@gmail.com> | 2012-04-28 01:28:48 +0400 |
| commit | fe70f6d8b4bf8a7b44a61a83933b6ce481b934b3 (patch) | |
| tree | f4131fd7385886b3bed67edbb5ffec8bfe130ee5 | |
| parent | b7051553920006266ecce46b02c1ffe467d066cd (diff) | |
| download | node-augeas-fe70f6d8b4bf8a7b44a61a83933b6ce481b934b3.tar.gz | |
Typo
| -rw-r--r-- | libaugeas.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libaugeas.cc b/libaugeas.cc index bbd4595..a9570ec 100644 --- a/libaugeas.cc +++ b/libaugeas.cc @@ -66,7 +66,7 @@ inline uint32_t memberToUint32(Handle<Object> obj, const char *key) { Local<Value> m = obj->Get(Local<String>(String::New(key))); if (!m->IsUndefined()) { - return obj->Uint32Value(); + return m->Uint32Value(); } else { return 0; } @@ -769,7 +769,6 @@ void createAugeasAfter(uv_work_t* req) * * The latter is equivalent to var aug = new lib.Augeas([...]); */ - Handle<Value> createAugeas(const Arguments& args) { HandleScope scope; |
