Reading through the Gaim source code today, I spotted this gem in the util.c file, thought I’d share it with the world.
* This function is long and beautiful, like my–um, yeah. Anyway,
* it includes lots of error checking so as we don’t overwrite
* people’s settings if there is a problem writing the new values.