commit | 01c1c0111290777a62d751e4d4dcf2dd06029c54 | [log] [tgz] |
---|---|---|
author | mukesh agrawal <quiche@chromium.org> | Tue Aug 12 15:18:46 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Wed Aug 13 05:28:17 2014 +0000 |
tree | d2714e379d48c88dffdd2580df249f309264c330 | |
parent | 0464bfe5eb5af064471bebde4af2c71147f4804c [diff] |
shill: improve logging in Service::SetProfile When the source or destinaiton profile is NULL, we would print the profile name as "". That makes for a confusing log message ("SetProfile from to newprofile"). Fix this, by using "(none)", instead of "", when a profile pointer is NULL. BUG=chromium:403041 TEST=compile Change-Id: If9fbb0abc7d5970c7b229717c46cd4889b421dd6 Reviewed-on: https://chromium-review.googlesource.com/212116 Reviewed-by: Christopher Wiley <wiley@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>