Re: [CODE] calling char function from sprintf

From: Daniel A. Koepke (
Date: 09/05/01

On Wed, 5 Sep 2001, Cathy Gore wrote:

>   return (str_dup(target));  //ya, it's a hack, but it works.
> }
> HAHA! and to think we were frying our brains over this!  Almost
> smacked myself when it finally fit together.

This is a _bad_ solution.  You're leaking memory everywhere.  If you
construct many queries, don't be surprised to find yourself using up
several megs of memory for unused strings.


   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/06/01 PST