service: Make DBG in '__connman_service_ipconfig_indicate_state' consistent.
PATCH 58/58 service: Make DBG in '__connman_service_ipconfig_indicate_state' consistent.
This makes the DBG statement in '__connman_service_ipconfig_indicate_state' consistent in format of 'service <service_pointer> (<service_name>) type <ipconfig_type> (<ipconfig_type_name>)' with that of other DBG statements in the module.
This makes at-a-glance, columnar correlation and comparison of service activities easier.
--- src/service.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
src/service.c +3 -3
@@ -7126,11 +7126,11 @@ int __connman_service_ipconfig_indicate_state(struct connman_service *service,if (old_state == new_state)return -EALREADY ; -DBG ("service %p (%s) old state %d (%s) new state %d (%s) type %d (%s)" , +DBG ("service %p (%s) type %d (%s) old state %d (%s) new state %d (%s)" , service,connman_service_get_identifier (service), + type,__connman_ipconfig_type2string (type), old_state,state2string (old_state), - new_state,state2string (new_state), - type,__connman_ipconfig_type2string (type)); + new_state,state2string (new_state));switch (new_state) {case CONNMAN_SERVICE_STATE_UNKNOWN :
Signature · 1 line
2.42.0
PATCH v2 1/1 service: Make DBG in '__connman_service_ipconfig_indicate_state' consistent.
This makes the DBG statement in '__connman_service_ipconfig_indicate_state' consistent in format of 'service <service_pointer> (<service_name>) type <ipconfig_type> (<ipconfig_type_name>)' with that of other DBG statements in the module.
This makes at-a-glance, columnar correlation and comparison of service activities easier.
--- src/service.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
src/service.c +3 -3
@@ -7126,11 +7126,11 @@ int __connman_service_ipconfig_indicate_state(struct connman_service *service,if (old_state == new_state)return -EALREADY ; -DBG ("service %p (%s) old state %d (%s) new state %d (%s) type %d (%s)" , +DBG ("service %p (%s) type %d (%s) old state %d (%s) new state %d (%s)" , service,connman_service_get_identifier (service), + type,__connman_ipconfig_type2string (type), old_state,state2string (old_state), - new_state,state2string (new_state), - type,__connman_ipconfig_type2string (type)); + new_state,state2string (new_state));switch (new_state) {case CONNMAN_SERVICE_STATE_UNKNOWN :
Signature · 1 line
2.42.0
Any thoughts on this patch?
Quoted 36 lines · Grant Erickson
This makes the DBG statement in '
__connman_service_ipconfig_indicate_state' consistent in format of 'service <service_pointer> (<service_name>) type <ipconfig_type> (<ipconfig_type_name>)' with that of other DBG statements in the module.This makes at-a-glance, columnar correlation and comparison of service activities easier.
---src/service.c| 6 +++---1 file changed, 3 insertions(+), 3 deletions(-)src/service.c +3
-3@@ -7126,11 +7126,11 @@ int __connman_service_ipconfig_indicate_state(struct connman_service *service,if (old_state == new_state)return -EALREADY ; -DBG ("service %p (%s) old state %d (%s) new state %d (%s) type %d (%s)" , +DBG ("service %p (%s) type %d (%s) old state %d (%s) new state %d (%s)" , service,connman_service_get_identifier (service), + type,__connman_ipconfig_type2string (type), old_state,state2string (old_state), - new_state,state2string (new_state), - type,__connman_ipconfig_type2string (type)); + new_state,state2string (new_state));switch (new_state) {case CONNMAN_SERVICE_STATE_UNKNOWN :Signature · 1 line
2.42.0
Signature · 5 lines
Principal Nuovations [email protected] http://www.nuovations.com/
Hi Grant,
Quoted 1 line
Any thoughts on this patch?
it just got lost in my inbox :(
Patchwork is tracking patches now, but the commit-bot is not fully functional yet. Hopefully soon we have this all automated.
Regards
Marcel
Hi Grant,
Quoted 10 lines
This makes the DBG statement in '
__connman_service_ipconfig_indicate_state' consistent in format of 'service <service_pointer> (<service_name>) type <ipconfig_type> (<ipconfig_type_name>)' with that of other DBG statements in the module.This makes at-a-glance, columnar correlation and comparison of service activities easier.
---src/service.c| 6 +++---1 file changed, 3 insertions(+), 3 deletions(-)
patch has been applied.
Regards
Marcel