Skip to content

Commit 9d9f6ac

Browse files
committed
Allow protocol version to be specified via the configuration file
1 parent 8463bea commit 9d9f6ac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mosquitto_mosq.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -592,11 +592,9 @@ switch_status_t mosq_int_option(mosquitto_connection_t *connection)
592592
int rc;
593593
int protocol_version = MQTT_PROTOCOL_V31;
594594

595-
/*
596595
if (!strncasecmp(connection->protocol_version, "V311", 4)) {
597596
protocol_version = MQTT_PROTOCOL_V311;
598597
}
599-
*/
600598

601599
/*
602600
* mosq A valid mosquitto instance.

0 commit comments

Comments
 (0)