Daniel Stenberg wrote: > Assuming that the names always have a rather short length, like > less than 128 bytes or so, I figure allocating it as part of the > main struct or something would be better.
Why alloc that in the first place? The strings will be included in the binary anyway.. Make them rodata. //Peter ------------------------------------------------------------------------------ _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel