diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-08 11:26:14 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-08 11:26:14 +0800 |
commit | a8b9f4301aa727c081d3d112ae2129a603d74d70 (patch) | |
tree | bee24e97d05af4793e15d83c7424469350099eb2 | |
parent | 92e58a71d62d05a505d97f49aca4809e572a13aa (diff) | |
download | pttbbs-a8b9f4301aa727c081d3d112ae2129a603d74d70.tar pttbbs-a8b9f4301aa727c081d3d112ae2129a603d74d70.tar.gz pttbbs-a8b9f4301aa727c081d3d112ae2129a603d74d70.tar.bz2 pttbbs-a8b9f4301aa727c081d3d112ae2129a603d74d70.tar.lz pttbbs-a8b9f4301aa727c081d3d112ae2129a603d74d70.tar.xz pttbbs-a8b9f4301aa727c081d3d112ae2129a603d74d70.tar.zst pttbbs-a8b9f4301aa727c081d3d112ae2129a603d74d70.zip |
Fix sending wrong ip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4097 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | daemon/fromd/fromc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/fromd/fromc.c b/daemon/fromd/fromc.c index 1a5cb6b1..e77f3cc6 100644 --- a/daemon/fromd/fromc.c +++ b/daemon/fromd/fromc.c @@ -27,7 +27,7 @@ int main(int argc, char *argv[]) return 1; } - write(fd, argv[2], strlen(argv[2])); + write(fd, argv[3], strlen(argv[3])); read(fd, buf, sizeof(buf)); printf("%s\n", buf); |