Re: more on g_strconcat problem



On Wed, 2003-11-26 at 23:30, Carl B. Constantine wrote:
> Ok, I've definately nailed the problem down to an issue with the check
> button in my data entry box. But it still doesn't make sense. consider
> the following code:

[snip]

> sql = g_strconcat("insert into customers (id_req) values('", toggleTest, "')",0L);

[snip]

I'm not really informed on whether NULL is ever != 0, but have you tried
terminating the string with NULL instead of "0L"?

-- 
Peace,

    Jim Cape
    http://ignore-your.tv

    "It is literally true that, like Christianity, Socialism
     has conquered the world by defeating itself."
        -- Alexander Berkman, ABC of Anarchism

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]