From 0df3150e36f09e267925d02598168d1354563548 Mon Sep 17 00:00:00 2001 From: Trumeet Date: Tue, 12 Oct 2021 14:14:46 -0700 Subject: fix typos --- README.md | 2 +- easy-tg.h | 2 +- 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 */ -- cgit v1.2.3