Ethereal-dev: [Ethereal-dev] packet-acse fails to compile

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Fri, 23 Jan 2004 11:08:51 -0000
The latest cvs version of packet-acse.c fails to compile due to extra
linewraps in some text constants.  The attached patch fixes those.  There
appears to be a general problem in the file of lines being wrapped (by a
helpful ? mailer).

I've also fixed a size mismatch warning.

Regards,

Graham Bloice
Index: ethereal/packet-acse.c
===================================================================
RCS file: /cvsroot/ethereal/packet-acse.c,v
retrieving revision 1.1
diff -b -r1.1 packet-acse.c
139,140c139
<   {ACSE_APPLICATION_CONTEXT_NAME_NOT_SUPPORTED,"Application context name not 
< supported"},
---
>   {ACSE_APPLICATION_CONTEXT_NAME_NOT_SUPPORTED,"Application context name not supported"},
142,147c141,143
<   {ACSE_CALLING_AP_INVOKATION_IDENTIFIER_NOT_RECOGNIZED,"Calling AP 
< invokation identifier not recognized"},
<   {ACSE_CALLING_AE_QUALIFIER_NOT_RECOGNIZED,"Calling AE qualifier not 
< recognized"},
<   {ACSE_CALLING_AE_INVOKATION_IDENTIFIER_NOT_RECOGNIZED,"Calling AE 
< invokation identifier not recognized"},
---
>   {ACSE_CALLING_AP_INVOKATION_IDENTIFIER_NOT_RECOGNIZED,"Calling AP invokation identifier not recognized"},
>   {ACSE_CALLING_AE_QUALIFIER_NOT_RECOGNIZED,"Calling AE qualifier not recognized"},
>   {ACSE_CALLING_AE_INVOKATION_IDENTIFIER_NOT_RECOGNIZED,"Calling AE invokation identifier not recognized"},
149,154c145,147
<   {ACSE_CALLED_AP_INVOKATION_IDENTIFIER_NOT_RECOGNIZED,"Called AP invokation 
< identifier not recognized"},
<   {ACSE_CALLED_AE_QUALIFIER_NOT_RECOGNIZED,"Called AE qualifier not 
< recognized"},
<   {ACSE_CALLED_AE_INVOKATION_IDENTIFIER_NOT_RECOGNIZED,"Called AE invokation 
< identifier not recognized"},
---
>   {ACSE_CALLED_AP_INVOKATION_IDENTIFIER_NOT_RECOGNIZED,"Called AP invokation identifier not recognized"},
>   {ACSE_CALLED_AE_QUALIFIER_NOT_RECOGNIZED,"Called AE qualifier not recognized"},
>   {ACSE_CALLED_AE_INVOKATION_IDENTIFIER_NOT_RECOGNIZED,"Called AE invokation identifier not recognized"},
233c226
< call_app_dissector(tvbuff_t *tvb, int offset, guint16 param_len,
---
> call_app_dissector(tvbuff_t *tvb, int offset, gint param_len,
237,238c230
< 	name_of_app_dissect = val_to_str(type_of_application, type_app,"Unknown 
< type of application dissector (0x%02x)");
---
>   name_of_app_dissect = val_to_str(type_of_application, type_app,"Unknown type of application dissector (0x%02x)");
1483,1484c1475
< 						val_to_str(session->spdu_type, ses_vals, "Unknown pdu type 
< (0x%02x)"));
---
>             val_to_str(session->spdu_type, ses_vals, "Unknown pdu type (0x%02x)"));
1608,1609c1599
< 										val_to_str(session->spdu_type, ses_vals, "Unknown pdu type 
< (0x%02x)"));
---
>                     val_to_str(session->spdu_type, ses_vals, "Unknown pdu type (0x%02x)"));
1654,1655c1644
< 							"Internal error:wrong spdu type %x from session 
< dissector.",session->spdu_type);
---
>               "Internal error:wrong spdu type %x from session dissector.",session->spdu_type);