Good to read from you again, and thank you for the other patches integration.
src/service.c: In function ‘__connman_service_connect’:
src/service.c:6723:31: warning: passing argument 3 of ‘g_hash_table_replace’ makes
pointer from integer without a cast [-Wint-conversion]
6723 | GINT_TO_POINTER(index), true);
In fact, I have copied the similar code from
I think you could just insert the service instead of the bool
and use g_hash_table_remove() when done instead the bool. This would
also release the hash table resources.
The aim is to avoid a new connection on the
same interface, whichever
the service is, so the index, representative of the interface, shall be used.