mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-17 01:16:52 +01:00
Reformatting to make more consistent
Bug: 453862 Signed-off-by: Nicholas Humfrey <njh@aelius.com>
This commit is contained in:
committed by
Ian Craggs
parent
efede2d9f9
commit
b73a6712c1
@@ -1,5 +1,5 @@
|
|||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2014 IBM Corp.
|
* Copyright (c) 2014, 2015 IBM Corp.
|
||||||
*
|
*
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Ian Craggs - initial API and implementation and/or initial documentation
|
* Ian Craggs - initial API and implementation and/or initial documentation
|
||||||
|
* Nicholas Humfrey - Reformatting to make more consistent; bug 453862
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
#include "MQTTSNPacket.h"
|
#include "MQTTSNPacket.h"
|
||||||
@@ -67,8 +68,8 @@ int MQTTSNSerialize_connect(unsigned char* buf, int buflen, MQTTSNPacket_connect
|
|||||||
writeMQTTSNString(&ptr, options->clientID);
|
writeMQTTSNString(&ptr, options->clientID);
|
||||||
|
|
||||||
rc = ptr - buf;
|
rc = ptr - buf;
|
||||||
|
exit:
|
||||||
exit: FUNC_EXIT_RC(rc);
|
FUNC_EXIT_RC(rc);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -309,8 +310,8 @@ int MQTTSNSerialize_willmsg1(unsigned char* buf, int buflen, MQTTSNString willMs
|
|||||||
writeMQTTSNString(&ptr, willMsg);
|
writeMQTTSNString(&ptr, willMsg);
|
||||||
|
|
||||||
rc = ptr - buf;
|
rc = ptr - buf;
|
||||||
|
exit:
|
||||||
exit: FUNC_EXIT_RC(rc);
|
FUNC_EXIT_RC(rc);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user