aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2005-07-13 23:40:06 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2005-07-13 23:40:06 +0000
commitdf4cce353bf4f1c884badd133e124515775f175a (patch)
treec172ce0d46fbf21b2fabe029727165887fb90329
parent383564aff07fcaf0e2b258276b284fce28e76c2d (diff)
fix a string
svn path=/trunk/; revision=14915
-rw-r--r--asn1/h248/packet-h248-template.c2
-rw-r--r--epan/dissectors/packet-h248.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h248/packet-h248-template.c b/asn1/h248/packet-h248-template.c
index eef1dc1287..a21286e147 100644
--- a/asn1/h248/packet-h248-template.c
+++ b/asn1/h248/packet-h248-template.c
@@ -366,7 +366,7 @@ static int dissect_h248_ctx_id(gboolean implicit_tag, packet_info *pinfo, proto_
switch(context_id) {
case 0x0000000:
strncpy(context_string,"Ctx 0",sizeof(context_string));
- strncpy(context_string,"0 (Null Context)",sizeof(context_string));
+ strncpy(context_string_long,"0 (Null Context)",sizeof(context_string));
break;
case 0xFFFFFFFF:
strncpy(context_string,"Ctx *",sizeof(context_string));
diff --git a/epan/dissectors/packet-h248.c b/epan/dissectors/packet-h248.c
index c94223b6c9..1056152d23 100644
--- a/epan/dissectors/packet-h248.c
+++ b/epan/dissectors/packet-h248.c
@@ -771,7 +771,7 @@ static int dissect_h248_ctx_id(gboolean implicit_tag, packet_info *pinfo, proto_
switch(context_id) {
case 0x0000000:
strncpy(context_string,"Ctx 0",sizeof(context_string));
- strncpy(context_string,"0 (Null Context)",sizeof(context_string));
+ strncpy(context_string_long,"0 (Null Context)",sizeof(context_string));
break;
case 0xFFFFFFFF:
strncpy(context_string,"Ctx *",sizeof(context_string));