libpurple/protocols/zephyr/ZPending.c

changeset 40643
1c9bdf8d3e85
parent 40166
811f82db29dd
--- a/libpurple/protocols/zephyr/ZPending.c	Fri Dec 11 01:48:49 2020 -0600
+++ b/libpurple/protocols/zephyr/ZPending.c	Fri Dec 11 04:12:45 2020 -0600
@@ -15,7 +15,7 @@
 {
 	int retval;
 
-	if (ZGetFD() < 0) {
+	if (ZGetSocket() == NULL) {
 		errno = ZERR_NOPORT;
 		return (-1);
 	}

mercurial