1. Added a check in ocstack.c for the Maximum JSON payload that can be sent. 2. Added specific error message to result. Changes in if() as suggested. 4. Replaced tab with spaces and moved the check before any processing begins. Change-Id: Id06ce2f7deaf643acd4f3cf4fcdd9ce30e2eddbc
1. Added a check in ocstack.c for the Maximum JSON payload that can be sent.
2. Added specific error message to result. Changes in if() as suggested.
4. Replaced tab with spaces and moved the check before any processing begins.
Change-Id: Id06ce2f7deaf643acd4f3cf4fcdd9ce30e2eddbc

santais/iotivity_1.1,rzr/iotivity,kartben/iotivity,santais/iotivity_1.1.0,kartben/iotivity,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1,kartben/iotivity,santais/iotivity,tienfuc/iotivity-democlient-snap,iotivity/iotivity,kartben/iotivity,tienfuc/iotivity-democlient-snap,iotivity/iotivity,iotivity/iotivity,santais/iotivity,tienfuc/iotivity-democlient-snap,kartben/iotivity,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1,santais/iotivity_1.1,iotivity/iotivity,WojciechLuczkow/iotivity,iotivity/iotivity,santais/iotivity,santais/iotivity_1.1.0,WojciechLuczkow/iotivity,iotivity/iotivity,rzr/iotivity,kartben/iotivity,iotivity/iotivity,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,santais/iotivity,tienfuc/iotivity-democlient-snap,santais/iotivity,rzr/iotivity,WojciechLuczkow/iotivity,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,rzr/iotivity,WojciechLuczkow/iotivity,santais/iotivity_1.1.0,santais/iotivity_1.1.0,santais/iotivity_1.1,santais/iotivity,WojciechLuczkow/iotivity,santais/iotivity_1.1.0,rzr/iotivity,iotivity/iotivity,rzr/iotivity,kartben/iotivity,kartben/iotivity,santais/iotivity_1.1,santais/iotivity,rzr/iotivity,WojciechLuczkow/iotivity,santais/iotivity_1.1.0,WojciechLuczkow/iotivity,santais/iotivity_1.1.0,tienfuc/iotivity-democlient-snap,WojciechLuczkow/iotivity