aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2021-10-12 14:14:46 -0700
committerTrumeet <yuuta@yuuta.moe>2021-10-12 14:14:46 -0700
commit0df3150e36f09e267925d02598168d1354563548 (patch)
treeae8ad02550853b89ffafbf87136818bbf7530486
parent612fa53409ae24bf4b17e87a0c52e63658b59014 (diff)
downloadeasy-tg-0df3150e36f09e267925d02598168d1354563548.tar
easy-tg-0df3150e36f09e267925d02598168d1354563548.tar.gz
easy-tg-0df3150e36f09e267925d02598168d1354563548.tar.bz2
easy-tg-0df3150e36f09e267925d02598168d1354563548.zip
fix typos
-rw-r--r--README.md2
-rw-r--r--easy-tg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index e8c3fe1..e8ef962 100644
--- a/README.md
+++ b/README.md
@@ -30,4 +30,4 @@ See `example.c`. Put your API keys into `build` then run it.
## License
-Copyright Yuuta Liang, Apache 2.0. Originally published at https://git.yuuta.moe/easy-tg.git
+Copyright Yuuta Liang, Apache 2.0. Originally published at https://git.yuuta.moe/cgit.cgi/easy-tg.git/
diff --git a/easy-tg.h b/easy-tg.h
index 64e2649..04bddca 100644
--- a/easy-tg.h
+++ b/easy-tg.h
@@ -14,7 +14,7 @@
#define TG_LOGIN_PW 9 /* Need to input the password. */
#define TG_LOGIN_REG 10 /* Need to register. */
#define TG_PARAMS 11 /* Need to provide TDLib parameters. */
-#define TG_ERROR 12 /* TDLib returns an error. td_errno = code, r1 = extra, r2 = msg. */
+#define TG_ERROR 12 /* TDLib returns an error. tg_errno = code, r1 = extra, r2 = msg. */
#define TG_SYSERR 13 /* EasyTD encounters an error. */
#define TG_CONNECTION 14 /* Telegram connection state update. tg_errno = code, r1 = raw type */