diff options
author | erdgeist <> | 2003-12-13 12:14:10 +0000 |
---|---|---|
committer | erdgeist <> | 2003-12-13 12:14:10 +0000 |
commit | 9707986d30b33e5b652c8d26931c94908632e565 (patch) | |
tree | 9f9a5594fd8de09c053f100562744e486d924ee5 /vchat-protocol.c | |
parent | dc6e7bc1160c777a0464de1985501a4e4a046b1e (diff) |
Last change to external port representation revoked.
Diffstat (limited to 'vchat-protocol.c')
-rwxr-xr-x | vchat-protocol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vchat-protocol.c b/vchat-protocol.c index 03161e0..0dfcf25 100755 --- a/vchat-protocol.c +++ b/vchat-protocol.c | |||
@@ -163,7 +163,7 @@ vcconnect (unsigned char *server, unsigned char *port) | |||
163 | #endif | 163 | #endif |
164 | 164 | ||
165 | /* inform user */ | 165 | /* inform user */ |
166 | snprintf (tmpstr, TMPSTRSIZE, getformatstr(FS_CONNECTED), server, port); | 166 | snprintf (tmpstr, TMPSTRSIZE, getformatstr(FS_CONNECTED), server, strtoul(port,NULL,10)); |
167 | writechan (tmpstr); | 167 | writechan (tmpstr); |
168 | 168 | ||
169 | usessl = getintoption(CF_USESSL); | 169 | usessl = getintoption(CF_USESSL); |
@@ -566,7 +566,7 @@ justloggedin (unsigned char *message) | |||
566 | setstroption(CF_NICK,str1); | 566 | setstroption(CF_NICK,str1); |
567 | 567 | ||
568 | /* show change in console window */ | 568 | /* show change in console window */ |
569 | snprintf (consolestr, CONSOLESTRSIZE, getformatstr(FS_CONSOLE), nick, getstroption (CF_SERVERHOST), getstroption (CF_SERVERPORT)); | 569 | snprintf (consolestr, CONSOLESTRSIZE, getformatstr(FS_CONSOLE), nick, getstroption (CF_SERVERHOST), strtoul(getstroption (CF_SERVERPORT),NULL,10)); |
570 | consoleline (NULL); | 570 | consoleline (NULL); |
571 | 571 | ||
572 | /* announce login as servermessage */ | 572 | /* announce login as servermessage */ |
@@ -608,7 +608,7 @@ ownnickchange (unsigned char *newnick) | |||
608 | setstroption(CF_NICK,newnick); | 608 | setstroption(CF_NICK,newnick); |
609 | 609 | ||
610 | /* show change in console window */ | 610 | /* show change in console window */ |
611 | snprintf (consolestr, CONSOLESTRSIZE, getformatstr(FS_CONSOLE), nick, getstroption (CF_SERVERHOST), getintoption (CF_SERVERPORT)); | 611 | snprintf (consolestr, CONSOLESTRSIZE, getformatstr(FS_CONSOLE), nick, getstroption (CF_SERVERHOST), strtoul(getstroption (CF_SERVERPORT),NULL,10)); |
612 | consoleline (NULL); | 612 | consoleline (NULL); |
613 | } | 613 | } |
614 | 614 | ||