pidgin/plugins/relnot.c

changeset 41212
9f0f4c23132e
parent 41078
84e48180ef67
child 41216
5c4269ad7ee4
--- a/pidgin/plugins/relnot.c	Tue Dec 14 01:55:51 2021 -0600
+++ b/pidgin/plugins/relnot.c	Tue Dec 14 01:57:00 2021 -0600
@@ -25,6 +25,7 @@
 #include <string.h>
 
 #include <purple.h>
+#include "soupcompat.h"
 
 #include <pidgin.h>
 
@@ -61,7 +62,7 @@
 	GString *message;
 	int i = 0;
 
-	if (!SOUP_STATUS_IS_SUCCESSFUL(msg->status_code)) {
+	if (!SOUP_STATUS_IS_SUCCESSFUL(soup_message_get_status(msg))) {
 		return;
 	}
 

mercurial