Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: chromeos_network.cc

Issue 2147006: Fix crashing bug where device_path is set to unknown. (Closed) Base URL: ssh://git@chromiumos-git//cros.git
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos_cros_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos_network.cc
diff --git a/chromeos_network.cc b/chromeos_network.cc
index 223104f204d435f34f136a130e83c75399826ecc..57042e3a23756520dff05d7a34470eab41e8d98d 100644
--- a/chromeos_network.cc
+++ b/chromeos_network.cc
@@ -353,7 +353,7 @@ void ParseServiceProperties(const glib::ScopedHashTable& properties,
const gchar* path = static_cast<const gchar*>(g_value_get_boxed (&val));
info->device_path = NewStringCopy(path);
} else {
- info->device_path = NewStringCopy(kUnknownString);
+ info->device_path = NULL;
}
}
« no previous file with comments | « chromeos_cros_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698