[Ttssh2-commit] [6832] 使わなくなった構造体メンバを削除

svnno****@sourc***** svnno****@sourc*****
2017年 7月 5日 (水) 00:01:30 JST


Revision: 6832
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6832
Author:   doda
Date:     2017-07-05 00:01:30 +0900 (Wed, 05 Jul 2017)
Log Message:
-----------
使わなくなった構造体メンバを削除

r3808 の変更で実質使われなくなっていた。

Revision Links:
--------------
    http://sourceforge.jp/projects/ttssh2/scm/svn/commits/3808

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/fwd.c
    trunk/ttssh2/ttxssh/fwd.h

-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/fwd.c
===================================================================
--- trunk/ttssh2/ttxssh/fwd.c	2017-07-04 15:01:27 UTC (rev 6831)
+++ trunk/ttssh2/ttxssh/fwd.c	2017-07-04 15:01:30 UTC (rev 6832)
@@ -1638,7 +1638,6 @@
 	pvar->fwd_state.server_listening_specs = NULL;
 	pvar->fwd_state.num_channels = 0;
 	pvar->fwd_state.channels = NULL;
-	pvar->fwd_state.local_host_IP_numbers = NULL;
 	pvar->fwd_state.X11_auth_data = NULL;
 	pvar->fwd_state.accept_wnd = NULL;
 	pvar->fwd_state.in_interactive_mode = FALSE;
@@ -1672,7 +1671,6 @@
 		free(pvar->fwd_state.requests);
 	}
 
-	free(pvar->fwd_state.local_host_IP_numbers);
 	free(pvar->fwd_state.server_listening_specs);
 
 	if (pvar->fwd_state.X11_auth_data != NULL) {

Modified: trunk/ttssh2/ttxssh/fwd.h
===================================================================
--- trunk/ttssh2/ttxssh/fwd.h	2017-07-04 15:01:27 UTC (rev 6831)
+++ trunk/ttssh2/ttxssh/fwd.h	2017-07-04 15:01:30 UTC (rev 6832)
@@ -120,7 +120,6 @@
   FWDRequest *requests;
   int num_channels;
   FWDChannel *channels;
-  struct sockaddr_storage *local_host_IP_numbers;
   struct _X11AuthData *X11_auth_data;
   BOOL in_interactive_mode;
 } FWDState;



Ttssh2-commit メーリングリストの案内