AxisCommunications / docker-acap

ACAP application to add dockerd to a container capable Axis device
Apache License 2.0
15 stars 3 forks source link

Simplify concatenation of formatted strings #232

Closed killenheladagen closed 2 months ago

killenheladagen commented 3 months ago

Instead of keeping track of offset into and length of buffer, keep track of pointers to next input and to end of buffer. This means one less subtraction in every call to g_snprintf() and occationally statements that don't have to span several lines.

The --tlsverify flag was also moved from tls.c to the main file.

Checklist before requesting a review