[Ttssh2-commit] [5795] パラメータ省略時は余計な改行を含めないようにした

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2015年 2月 23日 (月) 10:43:29 JST


Revision: 5795
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5795
Author:   doda
Date:     2015-02-23 10:43:22 +0900 (Mon, 23 Feb 2015)
Log Message:
-----------
パラメータ省略時は余計な改行を含めないようにした
# 最初からこうしておけばよかった……

Modified Paths:
--------------
    trunk/cygterm/cygterm.cc

-------------- next part --------------
Modified: trunk/cygterm/cygterm.cc
===================================================================
--- trunk/cygterm/cygterm.cc	2015-02-23 01:28:31 UTC (rev 5794)
+++ trunk/cygterm/cygterm.cc	2015-02-23 01:43:22 UTC (rev 5795)
@@ -127,7 +127,7 @@
 //=========================//
 // Win32-API error message //
 //-------------------------//
-void api_error(const char* string = "")
+void api_error(const char* string = NULL)
 {
     char msg[1024];
     char *ptr = msg;
@@ -144,7 +144,7 @@
 //=========================//
 // C-runtime error message //
 //-------------------------//
-void c_error(const char* string = "")
+void c_error(const char* string = NULL)
 {
     char msg[1024];
     char *ptr = msg;



Ttssh2-commit メーリングリストの案内
Back to archive index