diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-10-17 01:08:50 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-10-17 01:08:50 +0800 |
commit | f2650f5fce0362df7e48c10830e5258c9778502a (patch) | |
tree | 436d5e8909ab6427575b3314673c8b11c255e6c2 /mbbsd/talk.c | |
parent | 7daae7397382c30de7a7851ffa1ded14969b1f76 (diff) | |
download | pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.gz pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.bz2 pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.lz pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.xz pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.zst pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.zip |
* save memory, NameList is more like STL's vector now
* fix corner case of fav bug
* code revise
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r-- | mbbsd/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 94186dbf..50be465c 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -3112,11 +3112,11 @@ establish_talk_connection(const userinfo_t *uip) sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK); sin.sin_port = uip->sockaddr; if ((a = socket(sin.sin_family, SOCK_STREAM, 0)) < 0) { - perror("connect err"); + perror("socket err"); return -1; } if ((connect(a, (struct sockaddr *) & sin, sizeof(sin)))) { - perror("connect err"); + //perror("connect err"); return -1; } return a; |