Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Tera Term
Tera Term
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (173)
Help (428)
Help
Mailing Lists
list of ML
ttssh2-commit
ttssh2-dev
ttssh2-users
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[ttssh2]
/
branches
/
ssh_chacha20poly1305
/
ttssh2
/
ttxssh
/
ttxssh.c
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c
Parent Directory
|
Revision Log
|
Patch
revision
3188
by
doda
, Tue Dec 16 05:15:59 2008 UTC
revision
3189
by
doda
, Tue Dec 16 05:50:45 2008 UTC
#
Line 1662
static int parse_option(PTInstVar pvar,
Line 1662
static int parse_option(PTInstVar pvar,
1662
option[hostlen] = 0;
option[hostlen] = 0;
1663
1664
// ポート指定が無い時は":22"を足す
// ポート指定が無い時は":22"を足す
1665
#ifndef NO_INET6
1666
if (option[0] == '[' && option[hostlen-1] == ']' || // IPv6 raw address without port
1667
option[0] != '[' && strchr(option, ':') == NULL) { // hostname or IPv4 raw address without port
1668
#else
1669
if (strchr(option, ':') == NULL) {
if (strchr(option, ':') == NULL) {
1670
#endif /* NO_INET6 */
1671
memcpy_s(option+hostlen, optlen-hostlen, ":22", 3);
memcpy_s(option+hostlen, optlen-hostlen, ":22", 3);
1672
hostlen += 3;
hostlen += 3;
1673
}
}
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.3188
changed lines
Added in v.3189
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26