aboutsummaryrefslogtreecommitdiff
path: root/lib/mqtt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mqtt.c')
-rw-r--r--lib/mqtt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/mqtt.c b/lib/mqtt.c
index 44433361b..4c664f7f6 100644
--- a/lib/mqtt.c
+++ b/lib/mqtt.c
@@ -609,8 +609,6 @@ static CURLcode mqtt_doing(struct connectdata *conn, bool *done)
case MQTT_PUBWAIT:
case MQTT_PUB_REMAIN:
result = mqtt_read_publish(conn, done);
- if(result)
- break;
break;
default: