Code

connection_test: Use mkstemp() instead of tmpnam().