Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7632 by zmatsuo, Fri Apr 26 17:18:36 2019 UTC revision 7648 by zmatsuo, Mon May 6 13:41:50 2019 UTC
# Line 977  void logputs(int level, char *msg) Line 977  void logputs(int level, char *msg)
977          }          }
978  }  }
979    
980  void logprintf(int level, char *fmt, ...)  #if defined(_MSC_VER)
981    void logprintf(int level, _Printf_format_string_ const char *fmt, ...)
982    #else
983    void logprintf(int level, const char *fmt, ...)
984    #endif
985  {  {
986          char buff[4096];          char buff[4096];
987          va_list params;          va_list params;
# Line 1031  static void format_line_hexdump(char *bu Line 1035  static void format_line_hexdump(char *bu
1035          //strncat_s(buf, buflen, "\n", _TRUNCATE);          //strncat_s(buf, buflen, "\n", _TRUNCATE);
1036  }  }
1037    
1038  void logprintf_hexdump(int level, char *data, int len, char *fmt, ...)  #if defined(_MSC_VER)
1039    void logprintf_hexdump(int level, const char *data, int len, _Printf_format_string_ const char *fmt, ...)
1040    #else
1041    void logprintf_hexdump(int level, const char *data, int len, const char *fmt, ...)
1042    #endif
1043  {  {
1044          char buff[4096];          char buff[4096];
1045          va_list params;          va_list params;

Legend:
Removed from v.7632  
changed lines
  Added in v.7648

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26