Re: [elinks-dev] GnuTLS improvements

2007-04-20 Thread Simon Josefsson
Kalle Olavi Niemitalo <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> writes: > >> The patch to socket.? removes some never needed code with GnuTLS, and >> removes the need for the no_tls variable and the ssl_set_no_tls() >> function altogether by replacing each occurrence of set

Re: [elinks-dev] GnuTLS improvements

2007-04-20 Thread Kalle Olavi Niemitalo
Simon Josefsson <[EMAIL PROTECTED]> writes: > The patch to socket.? removes some never needed code with GnuTLS, and > removes the need for the no_tls variable and the ssl_set_no_tls() > function altogether by replacing each occurrence of setting the no_tls > variable, and calling the function if t

Re: [elinks-dev] [PATCH] error.c: fix gcc warning (vasprintf)

2007-04-20 Thread Kalle Olavi Niemitalo
Alexey Tourbin <[EMAIL PROTECTED]> writes: > + rv = vasprintf((char **) &buf, fmt, params); > + if (rv < 0) > + buf = fmt; > va_end(params); > elinks_internal("assertion failed: %s", buf); > if (buf) free(buf); It can then call free(fmt) and probably get a SI