>       void fl_get_composed_string(int * ptr_kbuflen, char const * ptr_keybuf) {
>               if (!ptr_kbuflen) return;
>               *ptr_kbuflen = kbuflen;
>               ptr_keybuf = keybuf;
>       }

It may be that this function should be written:

void fl_get_composed_string(int * ptr_kbuflen, char const ** ptr_keybuf)
{
    if (!ptr_kbuflen) return;
    *ptr_kbuflen = kbuflen;
    *ptr_keybuf = &keybuf;
}

I get confused by pointers sometimes. Untested of course ;-)
Angus

Reply via email to