From 4e6b84f5321154587932e5758f63280bde34b02e Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 8 Jan 2007 16:50:54 +0000 Subject: Unimportant cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9633 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/plugins/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins') 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; -- cgit v1.2.3-60-g2f50