[asterisk-dev] SQL_ESC func_odbc.c

Martin Vít vit at lam.cz
Sun Nov 12 14:27:22 MST 2006


Hello,

i'm testing this addon for asterisk-1.2 from digiums community svn 
branch. Pls look at acf_escape function, there is

        for (in = data; *in && out - buf < len; in++) {
                if (*in == '\'') {
                        *out = '\'';
                        out++;
                }
                *out = *in;
                out++;
        }
        *out = '\0';
        return buf;

it should be if (....) *out = '\\' instead of '\'' or am I missing 
something?

I dont know who is the maintainer nor if I (or anyone else) can make bug 
on mantis.

regards festr


More information about the asterisk-dev mailing list