Commit 1cbb48928413c48f72592136570109365e6d10b7

Authored by Perry Werneck
1 parent 0ed122d4

Incluindo mensagem de debug.

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
src/libpw3270cpp/service.cc
@@ -381,7 +381,7 @@ @@ -381,7 +381,7 @@
381 { 381 {
382 int rc = getInteger("connect", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_STRING, &url, DBUS_TYPE_INVALID); 382 int rc = getInteger("connect", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_STRING, &url, DBUS_TYPE_INVALID);
383 383
384 - debug("connect rc=%d (%s)",rc,strerror(rc));; 384 + debug("connect(%s) rc=%d (%s)",url,rc,strerror(rc));
385 385
386 if(!rc && wait) { 386 if(!rc && wait) {
387 time_t end = time(0) + wait; 387 time_t end = time(0) + wait;
@@ -394,7 +394,8 @@ @@ -394,7 +394,8 @@
394 } 394 }
395 } 395 }
396 396
397 - debug("connect rc=%d (%s)",rc,strerror(rc));; 397 + debug("connect(%s) rc=%d (%s)",url,rc,strerror(rc));
  398 +
398 return rc; 399 return rc;
399 400
400 } 401 }