* [GIT PULL] lib/tgapi fixes 2023-03-13
@ 2023-03-12 19:20 Alviro Iskandar Setiawan
2023-03-12 19:42 ` Ammar Faizi
0 siblings, 1 reply; 2+ messages in thread
From: Alviro Iskandar Setiawan @ 2023-03-12 19:20 UTC (permalink / raw)
To: Ammar Faizi; +Cc: Irvan Malik Azantha, GNU/Weeb Mailing List
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] lib/tgapi fixes 2023-03-13
2023-03-12 19:20 [GIT PULL] lib/tgapi fixes 2023-03-13 Alviro Iskandar Setiawan
@ 2023-03-12 19:42 ` Ammar Faizi
0 siblings, 0 replies; 2+ messages in thread
From: Ammar Faizi @ 2023-03-12 19:42 UTC (permalink / raw)
To: Alviro Iskandar Setiawan; +Cc: Irvan Malik Azantha, GNU/Weeb Mailing List
On Sun, Mar 12, 2023 at 07:20:12PM +0000, Alviro Iskandar Setiawan wrote:
> 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!!!
Pulled, thanks.
--
Ammar Faizi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-12 19:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-12 19:20 [GIT PULL] lib/tgapi fixes 2023-03-13 Alviro Iskandar Setiawan
2023-03-12 19:42 ` Ammar Faizi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox