- while ((NULL == sock) && (count < UNIXPATH_RETRIES))
- {
-#if DEBUG_CLIENT
- GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Failed to connect to unixpath `%s', retrying!\n", unixpath);
-#endif
- count++;
- sleep(1);
- sock = GNUNET_CONNECTION_create_from_connect_to_unixpath (cfg, unixpath);
- }
-
- GNUNET_free (unixpath);