diff extensions/app_radgw/rgw_clients.c @ 1119:79dd22145f52

Fix a number of compilation warnings
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 14 May 2013 11:04:20 +0800
parents 96f2051215c8
children 1af09cc156d6
line wrap: on
line diff
--- a/extensions/app_radgw/rgw_clients.c	Tue May 14 09:56:36 2013 +0800
+++ b/extensions/app_radgw/rgw_clients.c	Tue May 14 11:04:20 2013 +0800
@@ -975,9 +975,8 @@
 	for (ref = senti->next; ref != senti; ref = ref->next) {
 		char sa_buf[sSA_DUMP_STRLEN];
 		client = (struct rgw_client *)ref;
-		/* TODO: use a fct param instead of hardcoded FD_LOG_DEBUG */
-		TODO("Replace with appropriate code");
-/*		TRACE_sSA(FD_LOG_DEBUG, NONE, 	 "  - ", client->sa, NI_NUMERICHOST | NI_NUMERICSERV, (client->type == RGW_CLI_NAS) ? "" : " [PROXY]" ); */
+		fd_sa_sdump_numeric(sa_buf, client->sa);
+		LOG_D("  - %s%s", sa_buf, (client->type == RGW_CLI_NAS) ? "" : " [PROXY]" );
 	}
 }
 
"Welcome to our mercurial repository"