From: Alviro Iskandar Setiawan <[email protected]>
To: Ammar Faizi <[email protected]>
Cc: Irvan Malik Azantha <[email protected]>,
GNU/Weeb Mailing List <[email protected]>
Subject: [GIT PULL] lib/tgapi fixes 2023-03-13
Date: Sun, 12 Mar 2023 19:20:12 +0000 [thread overview]
Message-ID: <[email protected]> (raw)
lib/tgapi fixes:
- Fix `-Wshorten-64-to-32` warning due to strlen(). Found this when
compiling with clang.
- Increase the url buffer size in send message function. The previous
buffer size is too small. A Telegram message can have up to 4096
characters per text message.
- Trivial whitespaces cleanup.
- Simplify curl code, avoid code duplication.
pleasee pull!!!
tq
The following changes since commit 2ca56f61c307813ad7069cf08c350f2ff61fc615:
Merge branch 'master' of https://github.com/kyzsuukii/GNUWeebBot2 (2023-03-10 17:30:50 +0700)
are available in the Git repository at:
https://github.com/alviroiskandar/GNUWeebBot2 tags/fixes-2023-03-13
for you to fetch changes up to fe8c2278ab166bc8c41dbf2f40ed043511b62a03:
lib/tgapi: Simplify curl code for tgapi calls (2023-03-11 06:19:43 +0700)
----------------------------------------------------------------
fixes-2023-03-13
----------------------------------------------------------------
Alviro Iskandar Setiawan (4):
lib/tgapi: Fix `-Wshorten-64-to-32` warning
lib/tgapi: Increase the url buffer size
lib/tgapi: Clean trailing whitespaces
lib/tgapi: Simplify curl code for tgapi calls
lib/tgapi.c | 68 ++++++++++++++++++----------------------
1 file changed, 31 insertions(+), 37 deletions(-)
--
Alviro Iskandar Setiawan
next reply other threads:[~2023-03-12 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-12 19:20 Alviro Iskandar Setiawan [this message]
2023-03-12 19:42 ` [GIT PULL] lib/tgapi fixes 2023-03-13 Ammar Faizi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230312192012.3716328-1-alviro.iskandar@gnuweeb.org \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox