Procházet zdrojové kódy

Rename 'client_id' field to 'client'

Feng Lee před 6 roky
rodič
revize
2790ab318d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      include/emqx_mqtt.hrl

+ 1 - 1
include/emqx_mqtt.hrl

@@ -219,7 +219,7 @@
           will_retain  = false,
           will_retain  = false,
           keepalive    = 0,
           keepalive    = 0,
           properties   = undefined,
           properties   = undefined,
-          client_id    = <<>>,
+          clientid     = <<>>,
           will_props   = undefined,
           will_props   = undefined,
           will_topic   = undefined,
           will_topic   = undefined,
           will_payload = undefined,
           will_payload = undefined,