mirror of
https://github.com/HackHerz/pusher
synced 2025-12-06 02:10:19 +00:00
Changed pipe function
This commit is contained in:
parent
4e2e035c4c
commit
d11867f430
1 changed files with 6 additions and 1 deletions
|
|
@ -196,7 +196,12 @@ int main(int argc, char **argv)
|
||||||
// load message
|
// load message
|
||||||
if(vm.count("pipe"))
|
if(vm.count("pipe"))
|
||||||
{
|
{
|
||||||
while(cin >> message) {};
|
string pipeBuffer;
|
||||||
|
|
||||||
|
while(cin >> pipeBuffer)
|
||||||
|
{
|
||||||
|
message += pipeBuffer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue