From 254a84e43e50dda5eddc12493d88c1d6b9a676bb Mon Sep 17 00:00:00 2001 From: lixiang Date: Fri, 15 Nov 2024 17:45:15 +0800 Subject: [PATCH] submit some changes submit some changes --- README.md | 2 +- deps/lua/src/lfunc.c | 2 +- deps/lua/src/lgc.h | 2 +- src/modules/hellodict.c | 2 +- tests/modules/keyspace_events.c | 2 +- utils/gen-test-certs.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 63556d7..8ba5b0d 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ You can use openamdc-cli to play with openAMDC. Start a openamdc-server instance then in another terminal try the following: % cd src - % ./oepnamdc-cli + % ./openamdc-cli openamdc> ping PONG openamdc> set foo bar diff --git a/deps/lua/src/lfunc.c b/deps/lua/src/lfunc.c index 813e88f..ba7eaf6 100644 --- a/deps/lua/src/lfunc.c +++ b/deps/lua/src/lfunc.c @@ -59,7 +59,7 @@ UpVal *luaF_findupval (lua_State *L, StkId level) { lua_assert(p->v != &p->u.value); if (p->v == level) { /* found a corresponding upvalue? */ if (isdead(g, obj2gco(p))) /* is it dead? */ - changewhite(obj2gco(p)); /* ressurect it */ + changewhite(obj2gco(p)); /* resurrect it */ return p; } pp = &p->next; diff --git a/deps/lua/src/lgc.h b/deps/lua/src/lgc.h index 5a8dc60..32fa1b7 100644 --- a/deps/lua/src/lgc.h +++ b/deps/lua/src/lgc.h @@ -22,7 +22,7 @@ /* -** some userful bit tricks +** some useful bit tricks */ #define resetbits(x,m) ((x) &= cast(lu_byte, ~(m))) #define setbits(x,m) ((x) |= (m)) diff --git a/src/modules/hellodict.c b/src/modules/hellodict.c index 797a140..84efd80 100644 --- a/src/modules/hellodict.c +++ b/src/modules/hellodict.c @@ -65,7 +65,7 @@ int cmd_KEYRANGE(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { /* Reply with the matching items. */ char *key; size_t keylen; - long long replylen = 0; /* Keep track of the amitted array len. */ + long long replylen = 0; /* Keep track of the emitted array len. */ RedisModule_ReplyWithArray(ctx,REDISMODULE_POSTPONED_ARRAY_LEN); while((key = RedisModule_DictNextC(iter,&keylen,NULL)) != NULL) { if (replylen >= count) break; diff --git a/tests/modules/keyspace_events.c b/tests/modules/keyspace_events.c index 9305774..8a55e0f 100644 --- a/tests/modules/keyspace_events.c +++ b/tests/modules/keyspace_events.c @@ -36,7 +36,7 @@ #include #include -/** strores all the keys on which we got 'loaded' keyspace notification **/ +/** stores all the keys on which we got 'loaded' keyspace notification **/ RedisModuleDict *loaded_event_log = NULL; /** stores all the keys on which we got 'module' keyspace notification **/ RedisModuleDict *module_event_log = NULL; diff --git a/utils/gen-test-certs.sh b/utils/gen-test-certs.sh index ac4c8eb..a9afdee 100755 --- a/utils/gen-test-certs.sh +++ b/utils/gen-test-certs.sh @@ -5,7 +5,7 @@ # tests/tls/ca.{crt,key} Self signed CA certificate. # tests/tls/openamdc.{crt,key} A certificate with no key usage/policy restrictions. # tests/tls/client.{crt,key} A certificate restricted for SSL client usage. -# tests/tls/server.{crt,key} A certificate restricted fro SSL server usage. +# tests/tls/server.{crt,key} A certificate restricted for SSL server usage. # tests/tls/openamdc.dh DH Params file. generate_cert() { -- Gitee