• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision10296 (tree)
Time2022-10-05 22:07:08
Authorzmatsuo

Log Message

関数宣言に戻り値を追加

- warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int
- warning: non-void function does not return a value
- static void を追加

Change Summary

Incremental Difference

--- trunk/ttssh2/ttxssh/fwd-socks.c (revision 10295)
+++ trunk/ttssh2/ttxssh/fwd-socks.c (revision 10296)
@@ -126,7 +126,8 @@
126126 return UTIL_sock_buffered_write(pvar, &c->writebuf, dummy_blocking_write, c->local_socket, data, len);
127127 }
128128
129-send_socks4_reply(FWDDynamicFilterClosure *closure, int code) {
129+static void send_socks4_reply(FWDDynamicFilterClosure *closure, int code)
130+{
130131 unsigned char buff[] = {
131132 0, // NUL
132133 SOCKS4_RESULT_NG, // status
Show on old repository browser