Hi Lucas, > > the append_basic D-Bus function works fine on **char and *uint8. So > > either a pointer to a string (*char) or pointer to a byte (uint8. > > > > You differentiate between pointer to a string and pointer to a byte in > > that function. So it is different since normally it is the caller that > > has to give the right pointer in the first place. > > Yeah, true... But if we don't differentiate the types here I'd need to > cast an uint8 to void* that is not even allowed by our warning flags
as I said, I am fine with checking the type, but I would like to see a comment in the code why we differentiate in this case. Regards Marcel _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono