Mercurial > hg > piper-cpp
comparison vamp-server/simple-server.cpp @ 228:691b0daad1c6
Add helpful output
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 12 Jun 2017 10:19:52 +0100 |
parents | e0e3d9efa774 |
children | 8fd9da17f951 |
comparison
equal
deleted
inserted
replaced
227:c6aed932318d | 228:691b0daad1c6 |
---|---|
661 | 661 |
662 suspendOutput(); | 662 suspendOutput(); |
663 | 663 |
664 if (debug) { | 664 if (debug) { |
665 cerr << myname << " " << pid << ": waiting for format: " << format << endl; | 665 cerr << myname << " " << pid << ": waiting for format: " << format << endl; |
666 if (format == "json") { | |
667 cerr << myname << " " << pid << ": (to test the server, try {\"method\": \"list\"})" << endl; | |
668 } | |
666 } | 669 } |
667 | 670 |
668 while (true) { | 671 while (true) { |
669 | 672 |
670 RequestOrResponse request; | 673 RequestOrResponse request; |