Re: [Libevent-users] patch for evhttp_htmlescape() in http.c

2011-05-23 Thread Nick Mathewson
On Mon, May 23, 2011 at 6:20 PM, Mansour Moufid wrote: [...] >> Alternative patch attached: looks ok? > > Looks great to me! Merged; thanks! *** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent

Re: [Libevent-users] patch for evhttp_htmlescape() in http.c

2011-05-23 Thread Mansour Moufid
On Mon, May 23, 2011 at 6:07 PM, Nick Mathewson wrote: > On Mon, May 23, 2011 at 5:54 PM, Mansour Moufid > wrote: >> A couple changes in the file `http.c'. >> >> Removed the `scratch_space' variable from the `evhttp_htmlescape' >> function since it wasn't actually used; also removed the `buf' >>

Re: [Libevent-users] patch for evhttp_htmlescape() in http.c

2011-05-23 Thread Nick Mathewson
On Mon, May 23, 2011 at 5:54 PM, Mansour Moufid wrote: > A couple changes in the file `http.c'. > > Removed the `scratch_space' variable from the `evhttp_htmlescape' > function since it wasn't actually used; also removed the `buf' > variable from the `evhttp_htmlescape' function since it was only

[Libevent-users] patch for evhttp_htmlescape() in http.c

2011-05-23 Thread Mansour Moufid
A couple changes in the file `http.c'. Removed the `scratch_space' variable from the `evhttp_htmlescape' function since it wasn't actually used; also removed the `buf' variable from the `evhttp_htmlescape' function since it was only used by `scratch_space'. Modified the `html_replace' function so