1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

Fix compilation on OpenBSD: rename variables stdout/stderr (patch #6874 from zepard)

This commit is contained in:
Sebastien Helleu
2009-07-24 15:14:44 +02:00
parent 5139fdcf2a
commit 5563924363
12 changed files with 44 additions and 44 deletions
+3 -3
View File
@@ -3432,7 +3432,7 @@ weechat_lua_api_hook_fd (lua_State *L)
int
weechat_lua_api_hook_process_cb (void *data,
const char *command, int return_code,
const char *stdout, const char *stderr)
const char *out, const char *err)
{
struct t_script_callback *script_callback;
char *lua_argv[6], str_rc[32], empty_arg[1] = { '\0' };
@@ -3447,8 +3447,8 @@ weechat_lua_api_hook_process_cb (void *data,
lua_argv[0] = (script_callback->data) ? script_callback->data : empty_arg;
lua_argv[1] = (command) ? (char *)command : empty_arg;
lua_argv[2] = str_rc;
lua_argv[3] = (stdout) ? (char *)stdout : empty_arg;
lua_argv[4] = (stderr) ? (char *)stderr : empty_arg;
lua_argv[3] = (out) ? (char *)out : empty_arg;
lua_argv[4] = (err) ? (char *)err : empty_arg;
lua_argv[5] = NULL;
rc = (int *) weechat_lua_exec (script_callback->script,