app::Application& app = app::functions::getApp ();
cout << "Bloqueando las comunicaciones ejecute (kill -9 " << app.getPid () << ") ... " << flush;
while (stop == false) {
- if (gets (aux) != NULL) {
+ if (fgets(aux, sizeof(aux), stdin) != NULL) {
if (aux [0] == 'q' || aux [0] == 'Q')
stop = true;
}