aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipsec.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-05-11 17:27:41 +0000
committerBill Meier <wmeier@newsguy.com>2008-05-11 17:27:41 +0000
commit61465d414138d77418058ffcda5ad58fa2f515d1 (patch)
treebc3ec9010098ff396727165cf0f6ba4f51fcce46 /epan/dissectors/packet-ipsec.c
parent392d7f73764e6f29eb8ca88038ac4788e6e0a962 (diff)
Fix some of the Errors/warnings detected by checkapi
svn path=/trunk/; revision=25274
Diffstat (limited to 'epan/dissectors/packet-ipsec.c')
-rw-r--r--epan/dissectors/packet-ipsec.c20
1 files changed, 10 insertions, 10 deletions
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 "