updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / firefox-firesheep / linux-hal-info.vendor.diff
blob6b8dbd0858e08920cd0918e9cb07167e78f5bee9
1 --- a/backend/src/linux_platform.cpp 2011-03-24 07:10:53.000000000 +0100
2 +++ b/backend/src/linux_platform.cpp 2011-03-26 12:43:58.847599856 +0100
3 @@ -44,9 +44,11 @@
5 char *buf = libhal_device_get_property_string(context, device.c_str(), key.c_str(), error);
6 if (dbus_error_is_set(error)) {
7 - runtime_error ex(str(format("libhal_device_get_property_string failed: %s %s") % error->name % error->message));
8 dbus_error_free(error);
9 - throw ex;
10 + return string("Unknown");
11 + }
12 + else {
13 + return string(buf);
15 return string(buf);