Fixed warning in g_client.c