diff libfdproto/dictionary.c @ 770:27fef2ca2cf6

Improved usability of fd_dict_getlistof for vendors and apps
author Sebastien Decugis <sdecugis@nict.go.jp>
date Sun, 30 Oct 2011 12:33:28 +0100
parents 99136ec7d9d4
children 003df4a9ade2
line wrap: on
line diff
--- a/libfdproto/dictionary.c	Tue Oct 25 21:48:52 2011 +0200
+++ b/libfdproto/dictionary.c	Sun Oct 30 12:33:28 2011 +0100
@@ -1968,7 +1968,7 @@
 	#define NO_VENDOR_NAME	"(no vendor)"
 	new->dict_vendors.data.vendor.vendor_name = NO_VENDOR_NAME;
 	new->dict_vendors.datastr_len = CONSTSTRLEN(NO_VENDOR_NAME);
-	new->dict_vendors.list[0].o = NULL; /* overwrite since element is also sentinel for this list. */
+	/* new->dict_vendors.list[0].o = NULL; *//* overwrite since element is also sentinel for this list. */
 	new->dict_vendors.dico = new;
 	
 	/* Initialize the sentinel for applications */
@@ -1976,7 +1976,7 @@
 	#define APPLICATION_0_NAME	"Diameter Common Messages"
 	new->dict_applications.data.application.application_name = APPLICATION_0_NAME;
 	new->dict_applications.datastr_len = CONSTSTRLEN(APPLICATION_0_NAME);
-	new->dict_applications.list[0].o = NULL; /* overwrite since since element is also sentinel for this list. */
+	/* new->dict_applications.list[0].o = NULL; *//* overwrite since since element is also sentinel for this list. */
 	new->dict_applications.dico = new;
 			
 	/* Initialize the sentinel for types */
"Welcome to our mercurial repository"