diff options
author | infirit <[email protected]> | 2015-07-03 18:41:53 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-07 15:36:36 +0200 |
commit | e688080690005e5508db95d5f19c351c457302de (patch) | |
tree | 19c25832c942a75a05da44255a19829bf2d70b5b /sensors-applet/active-sensor.c | |
parent | a9fe9c4239c98f08a8815985cbcc485d729b0c2c (diff) | |
download | mate-sensors-applet-e688080690005e5508db95d5f19c351c457302de.tar.bz2 mate-sensors-applet-e688080690005e5508db95d5f19c351c457302de.tar.xz |
hddtemp: use g_strcmp0 instead of strcmp
Passing NULL to strcmp could be unsafe or at the minimum
result in undefined behaviour. g_strcmp0 handles NULL
gracefully and returns 0.
Diffstat (limited to 'sensors-applet/active-sensor.c')
0 files changed, 0 insertions, 0 deletions