net/mqtt: Improve indentation

Replace tabs by spaces to improve code alignment in mqtt_pkt.c.

Change-Id: If586b91ba67b8075ddc7e0203dc538420e96b49a
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
This commit is contained in:
Flavio Santes 2016-12-23 19:11:51 -06:00 committed by Tomasz Bursztyka
commit 4cfd7f7fe2

View file

@ -513,12 +513,12 @@ int mqtt_unpack_connect(uint8_t *buf, uint16_t length,
} }
/* connection flags */ /* connection flags */
user_name_flag = (buf[offset] & 0x80) ? 1 : 0; user_name_flag = (buf[offset] & 0x80) ? 1 : 0;
password_flag = (buf[offset] & 0x40) ? 1 : 0; password_flag = (buf[offset] & 0x40) ? 1 : 0;
msg->will_retain = (buf[offset] & 0x20) ? 1 : 0; msg->will_retain = (buf[offset] & 0x20) ? 1 : 0;
msg->will_qos = (buf[offset] & 0x18) >> 3; msg->will_qos = (buf[offset] & 0x18) >> 3;
msg->will_flag = (buf[offset] & 0x04) ? 1 : 0; msg->will_flag = (buf[offset] & 0x04) ? 1 : 0;
msg->clean_session = (buf[offset] & 0x02) ? 1 : 0; msg->clean_session = (buf[offset] & 0x02) ? 1 : 0;
offset += FLAGS_SIZE; offset += FLAGS_SIZE;