ports/sysutils/riemann-c-client/patches/patch-src_cmd-send_c

29 lines
671 B
Text

--- src/cmd-send.c.orig Fri Sep 30 18:44:30 2016
+++ src/cmd-send.c Thu Nov 10 22:31:26 2016
@@ -138,7 +138,7 @@ client_send (int argc, char *argv[])
char *keyfn;
char *priorities;
} tls = {NULL, NULL, NULL, NULL};
- int stdin = 0;
+ int rie_stdin = 0;
event = riemann_event_new ();
@@ -263,7 +263,7 @@ client_send (int argc, char *argv[])
break;
case '0':
- stdin = 1;
+ rie_stdin = 1;
break;
case '?':
@@ -312,7 +312,7 @@ client_send (int argc, char *argv[])
goto end;
}
- if (stdin)
+ if (rie_stdin)
{
e = _send_continously (client_type, client, event);