Commit Diff


commit - 5a084b215408a8000529ab73830d6276c68bb9ba
commit + 52fceb1ec65dc3fe23e98cafd1c0460f775800b4
blob - 00c409c548d0a640db50325bdb2970dfadfaa763
blob + d137de0e2ccd3fe2cd23ac22d30cc5e061ee5f88
--- FICS/playerdb.c
+++ FICS/playerdb.c
@@ -260,6 +260,11 @@ player_zero(int p)
 	parray[p].w_stats.whenbest	= 0;
 	parray[p].w_stats.win		= 0;
 
+	// Used to store the player's interface.
+	// For example: xboard 4.9.1
+	(void) memset(&(parray[p].interface[0]), 0,
+	    ARRAY_SIZE(parray[p].interface));
+
 	return 0;
 }
 
blob - fcd4879943c3c9103682b708474a2775b86f5a45
blob + 403533e48165e6c23c0f2dda40701a2199434748
--- FICS/playerdb.h
+++ FICS/playerdb.h
@@ -102,6 +102,7 @@ typedef struct _player {
 	 */
 	List		*lists;
 	char		 busy[100];
+	char		 interface[45]; // For example: 'xboard 4.9.1'
 	char		*identptr;
 	char		*last_file;
 	char		*login;