Resolve a compilation warning in test_connection.c

Instead of casting an enum to a void and back, use a string --
that's better C anyway.

Fixes bug 40113; bugfix on 0.2.9.3-alpha.
5 jobs for bug40113_035 in 32 minutes and 5 seconds (queued for 1 minute and 20 seconds)
latest