BBS:      TELESC.NET.BR
Assunto:  src/syncterm/syncterm.c
De:       Deuc¨
Data:     Sun, 15 Mar 2026 14:09:13 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/2c65f4bde3b1958a96c50a60
Modified Files:
	src/syncterm/syncterm.c
Log Message:
Fix multiple bugs in syncterm.c

- get_xdg_path(): strcat("syncterm") ignored bufsz, return NULL if
  the path would overflow the buffer.
- webget calloc: add NULL check, wrap download block in if(reqs!=NULL)
  to avoid NULL dereference on allocation failure.
- Progress bar: change %.*s to %*s so spaces are actually printed,
  and scale percentage from 0-100 to 0-10 to match the bar width.

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]