Ethereal

[Ethereal-dev] |patch] proto.c use the wrong pointer in error msg.
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: January 2006


Hi,

Didier
Index: epan/proto.c
===================================================================
--- epan/proto.c	(revision 16977)
+++ epan/proto.c	(working copy)
@@ -3161,7 +3161,7 @@
 		if (*ptr->p_id != -1 && *ptr->p_id != 0) {
 			fprintf(stderr,
 			    "Duplicate field detected in call to proto_register_field_array: %s is already registered\n",
-			    hf->hfinfo.abbrev);
+			    ptr->hfinfo.abbrev);
 			return;
 		}
 

Powered by MHonArc 2.6.10