From 61465d414138d77418058ffcda5ad58fa2f515d1 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Sun, 11 May 2008 17:27:41 +0000 Subject: Fix some of the Errors/warnings detected by checkapi svn path=/trunk/; revision=25274 --- epan/dissectors/packet-ipsec.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'epan/dissectors/packet-ipsec.c') diff --git a/epan/dissectors/packet-ipsec.c b/epan/dissectors/packet-ipsec.c index 676f2db70e..5a10b2bca8 100644 --- a/epan/dissectors/packet-ipsec.c +++ b/epan/dissectors/packet-ipsec.c @@ -2730,8 +2730,8 @@ proto_register_ipsec(void) } PREF_STR_INIT(); - g_string_sprintf(name_str,"sa_%d", i + 1); - g_string_sprintf(title_str,"SA #%d", i + 1); + g_string_printf(name_str,"sa_%d", i + 1); + g_string_printf(title_str,"SA #%d", i + 1); prefs_register_string_preference(esp_module, name_str->str, title_str->str, "SA identifier. Must have the form " @@ -2745,8 +2745,8 @@ proto_register_ipsec(void) PREF_STR_INIT(); - g_string_sprintf(name_str, "encryption_algorithm_%d", i + 1); - g_string_sprintf(title_str, "Encryption Algorithm #%d", i + 1); + g_string_printf(name_str, "encryption_algorithm_%d", i + 1); + g_string_printf(title_str, "Encryption Algorithm #%d", i + 1); prefs_register_enum_preference(esp_module, name_str->str, title_str->str, "Encryption algorithm", @@ -2754,8 +2754,8 @@ proto_register_ipsec(void) PREF_STR_FREE(); PREF_STR_INIT(); - g_string_sprintf(name_str, "authentication_algorithm_%d", i + 1); - g_string_sprintf(title_str, "Authentication Algorithm #%d", i + 1); + g_string_printf(name_str, "authentication_algorithm_%d", i + 1); + g_string_printf(title_str, "Authentication Algorithm #%d", i + 1); prefs_register_enum_preference(esp_module, name_str->str, title_str->str, "Authentication algorithm", @@ -2764,8 +2764,8 @@ proto_register_ipsec(void) PREF_STR_INIT(); - g_string_sprintf(name_str, "encryption_key_%d", i + 1); - g_string_sprintf(title_str, "Encryption Key #%d", i + 1); + g_string_printf(name_str, "encryption_key_%d", i + 1); + g_string_printf(title_str, "Encryption Key #%d", i + 1); prefs_register_string_preference(esp_module, name_str->str, title_str->str, "Encryption key. May be ASCII or hexadecimal (if " @@ -2778,8 +2778,8 @@ proto_register_ipsec(void) PREF_STR_INIT(); - g_string_sprintf(name_str, "authentication_key_%d", i + 1); - g_string_sprintf(title_str, "Authentication Key #%d", i + 1); + g_string_printf(name_str, "authentication_key_%d", i + 1); + g_string_printf(title_str, "Authentication Key #%d", i + 1); prefs_register_string_preference(esp_module, name_str->str, title_str->str, "Authentication key. May be ASCII or hexadecimal (if " -- cgit v1.2.3