1
0
Fork 0
mirror of https://github.com/HackHerz/pusher synced 2025-12-06 02:10:19 +00:00

Changed pipe function

This commit is contained in:
Daniel Stein 2014-09-11 18:02:51 +02:00
parent 4e2e035c4c
commit d11867f430

View file

@ -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
{ {