Ethereal-dev: [Ethereal-dev] C++ comments in C source files (gtk/sctp_stat.c)

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

Date: Tue, 17 May 2005 17:09:38 -0500
Against 0.10.11.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)

-- snip snip
--- gtk/sctp_stat.c.orig	Tue May 17 14:13:36 2005
+++ gtk/sctp_stat.c	Tue May 17 14:13:45 2005
@@ -1103,7 +1103,7 @@
 				info->error_info_list = g_list_append(info->error_info_list, error);
 			}
 		}
-	} // endif (!info)
+	} /* endif (!info) */
 	else
 	{
 		if (((tvb_get_guint8(sctp_info->tvb[0],0)) == SCTP_INIT_CHUNK_ID) ||
@@ -1194,7 +1194,7 @@
 					info->max_tsn2 = tsnumber;
 				info->instream2 = tvb_get_ntohs(sctp_info->tvb[0],INIT_CHUNK_NUMBER_OF_INBOUND_STREAMS_OFFSET);
 				info->outstream2 = tvb_get_ntohs(sctp_info->tvb[0],INIT_CHUNK_NUMBER_OF_OUTBOUND_STREAMS_OFFSET);
-				//info->initack_dir=2;
+				/*info->initack_dir=2;*/
 				info->tsn2 = g_list_prepend(info->tsn2, tsn);
 			}
 			else if (info->direction == 1)
@@ -1205,7 +1205,7 @@
 					info->max_tsn1 = tsnumber;
 				info->instream1 = tvb_get_ntohs(sctp_info->tvb[0],INIT_CHUNK_NUMBER_OF_INBOUND_STREAMS_OFFSET);
 				info->outstream1 = tvb_get_ntohs(sctp_info->tvb[0],INIT_CHUNK_NUMBER_OF_OUTBOUND_STREAMS_OFFSET);
-				//info->initack_dir=1;
+				/*info->initack_dir=1;*/
 				info->tsn1 = g_list_prepend(info->tsn1, tsn);
 			}
 			info->chunk_count[tvb_get_guint8(sctp_info->tvb[0],0)]++;