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 5882 by maya, Sat May 23 12:42:04 2015 UTC revision 5900 by doda, Tue Jun 2 09:07:33 2015 UTC
# Line 477  static void read_ssh_options(PTInstVar p Line 477  static void read_ssh_options(PTInstVar p
477    
478          settings->UpdateHostkeys = GetPrivateProfileInt("TTSSH", "UpdateHostkeys", 0, fileName);          settings->UpdateHostkeys = GetPrivateProfileInt("TTSSH", "UpdateHostkeys", 0, fileName);
479    
480            settings->GexMinimalGroupSize = GetPrivateProfileInt("TTSSH", "GexMinimalGroupSize", 0, fileName);
481    
482          clear_local_settings(pvar);          clear_local_settings(pvar);
483  }  }
484    
# Line 586  static void write_ssh_options(PTInstVar Line 588  static void write_ssh_options(PTInstVar
588          _snprintf_s(buf, sizeof(buf), _TRUNCATE,          _snprintf_s(buf, sizeof(buf), _TRUNCATE,
589                  "%d", settings->UpdateHostkeys);                  "%d", settings->UpdateHostkeys);
590          WritePrivateProfileString("TTSSH", "UpdateHostkeys", buf, fileName);          WritePrivateProfileString("TTSSH", "UpdateHostkeys", buf, fileName);
591    
592            _itoa_s(settings->GexMinimalGroupSize, buf, sizeof(buf), 10);
593            WritePrivateProfileString("TTSSH", "GexMinimalGroupSize", buf, fileName);
594  }  }
595    
596    

Legend:
Removed from v.5882  
changed lines
  Added in v.5900

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