bytestring_to_str() now returns a const char *; assign its result to a
const char *, not a char *. svn path=/trunk/; revision=46769
This commit is contained in:
parent
544efd26a6
commit
1cd57ad3c5
|
@ -209,7 +209,7 @@ gint pdu_type=-1;
|
|||
msg = "SNMP Authentication OK";
|
||||
severity = PI_CHAT;
|
||||
} else {
|
||||
gchar* calc_auth_str = bytestring_to_str(calc_auth,calc_auth_len,' ');
|
||||
const gchar* calc_auth_str = bytestring_to_str(calc_auth,calc_auth_len,' ');
|
||||
proto_item_append_text(authen_item, " calculated = %s", calc_auth_str);
|
||||
msg = "SNMP Authentication Error";
|
||||
severity = PI_WARN;
|
||||
|
|
|
@ -2482,7 +2482,7 @@ dissect_snmp_SNMPv3Message(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int off
|
|||
msg = "SNMP Authentication OK";
|
||||
severity = PI_CHAT;
|
||||
} else {
|
||||
gchar* calc_auth_str = bytestring_to_str(calc_auth,calc_auth_len,' ');
|
||||
const gchar* calc_auth_str = bytestring_to_str(calc_auth,calc_auth_len,' ');
|
||||
proto_item_append_text(authen_item, " calculated = %s", calc_auth_str);
|
||||
msg = "SNMP Authentication Error";
|
||||
severity = PI_WARN;
|
||||
|
|
Loading…
Reference in New Issue