X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fprotocol.c;h=50f6fe73050b269e712554f1e78a1f24929ab386;hp=24ba88b9c9741719a0c6b625eedec9c0a7a73bac;hb=075e6828a7533e7daa790225f17aa6bb39703278;hpb=9b129c07e273ae113f3c67a9feeee82e8146f3a1 diff --git a/src/protocol.c b/src/protocol.c index 24ba88b9..50f6fe73 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -73,7 +73,7 @@ bool send_request(connection_t *c, const char *format, ...) { cp(); - /* Use vsnprintf instead of vasprintf: faster, no memory + /* Use vsnprintf instead of vxasprintf: faster, no memory fragmentation, cleanup is automatic, and there is a limit on the input buffer anyway */