diff libfdcore/core.c @ 983:ab99bc1d5492

Remove some additional printf
author Sebastien Decugis <sdecugis@freediameter.net>
date Sat, 16 Mar 2013 16:05:37 +0100
parents 2091bf698fb1
children 1e1d6f94cd94
line wrap: on
line diff
--- a/libfdcore/core.c	Sat Mar 16 15:49:31 2013 +0100
+++ b/libfdcore/core.c	Sat Mar 16 16:05:37 2013 +0100
@@ -193,7 +193,7 @@
 	#endif /* GNUTLS_VERSION_210 */
 	CHECK_GNUTLS_DO( gnutls_global_init(), return EINVAL );
 	if ( ! gnutls_check_version(GNUTLS_VERSION) ) {
-		fprintf(stderr, "The GNUTLS library is too old; found '%s', need '" GNUTLS_VERSION "'\n", gnutls_check_version(NULL));
+		TRACE_ERROR( "The GNUTLS library is too old; found '%s', need '" GNUTLS_VERSION "'\n", gnutls_check_version(NULL));
 		return EINVAL;
 	} else {
 	#ifdef GNUTLS_VERSION_210
@@ -316,7 +316,7 @@
 		/* Just wait for core_runner_thread to complete and return gracefully */
 		ret = pthread_join(core_runner, &th_ret);
 		if (ret != 0) {
-			fprintf(stderr, "Unable to wait for main framework thread termination: %s\n", strerror(ret));
+			TRACE_ERROR( "Unable to wait for main framework thread termination: %s\n", strerror(ret));
 			return ret;
 		}
 	}
"Welcome to our mercurial repository"