diff -Nru whoopsie-0.2.39ubuntu0.1/debian/changelog whoopsie-0.2.39ubuntu0.2/debian/changelog --- whoopsie-0.2.39ubuntu0.1/debian/changelog 2014-10-29 19:26:35.000000000 +0000 +++ whoopsie-0.2.39ubuntu0.2/debian/changelog 2015-02-02 22:18:50.000000000 +0000 @@ -1,3 +1,10 @@ +whoopsie (0.2.39ubuntu0.2) utopic-proposed; urgency=medium + + * Merge patch from Bryan Quigley to only log when whoopsie's state changes. + (LP: #1217407) + + -- Brian Murray Mon, 02 Feb 2015 14:18:29 -0800 + whoopsie (0.2.39ubuntu0.1) utopic-proposed; urgency=medium * Change ownership of whoopsie-id so that it is not world readable. diff -Nru whoopsie-0.2.39ubuntu0.1/src/whoopsie.c whoopsie-0.2.39ubuntu0.2/src/whoopsie.c --- whoopsie-0.2.39ubuntu0.1/src/whoopsie.c 2014-10-29 19:23:57.000000000 +0000 +++ whoopsie-0.2.39ubuntu0.2/src/whoopsie.c 2015-02-02 22:18:17.000000000 +0000 @@ -843,7 +843,9 @@ void network_changed (gboolean available) { - log_msg (available ? "online\n" : "offline\n"); + if (online_state != available) + log_msg (available ? "online\n" : "offline\n"); + if (!available) { online_state = FALSE; return;