diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-08 16:50:54 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-08 16:50:54 +0000 |
commit | 4e6b84f5321154587932e5758f63280bde34b02e (patch) | |
tree | f0719b2bb03c4b290a193c680d16e0644d084950 /src/plugins | |
parent | 14710780f3b6043e6d9c859137159e76d0bb1e51 (diff) | |
download | hercules-4e6b84f5321154587932e5758f63280bde34b02e.tar.gz hercules-4e6b84f5321154587932e5758f63280bde34b02e.tar.bz2 hercules-4e6b84f5321154587932e5758f63280bde34b02e.tar.xz hercules-4e6b84f5321154587932e5758f63280bde34b02e.zip |
Unimportant cleanups
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9633 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/console.c b/src/plugins/console.c index fca087618..e9fceecbf 100644 --- a/src/plugins/console.c +++ b/src/plugins/console.c @@ -120,7 +120,7 @@ int console_parsebuf(int tid, unsigned int tick, int id, int data_) //printf("console_parsebuf pipe_hasdata\n"); // receive string pipe_read(data, &len, sizeof(size_t)); - pipe_read(data, &buf, len); + pipe_read(data, buf, len); buf[len] = '\0'; //printf("console_parsebuf buf='%s'\n", buf); // parse it @@ -128,7 +128,7 @@ int console_parsebuf(int tid, unsigned int tick, int id, int data_) //printf("console_parsebuf writing next\n"); // send next state buf[0] = 'R'; - pipe_write(next, &buf, 1); + pipe_write(next, buf, 1); //printf("console_parsebuf done with next\n"); } return 0; |