X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fexamples%2Fgarageclient.cpp;h=9fbc4463dd36f4688f77ed10c52c731cacfce2e0;hb=1cee1631595cac6a6394ac2e0b365c6dd5a42c68;hp=45e59b49fcfa136e5ef57182d8ac69ae6fcfbf28;hpb=390866079e285d2c74918432c0d597d5da52f8a0;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/examples/garageclient.cpp b/resource/examples/garageclient.cpp index 45e59b4..9fbc446 100644 --- a/resource/examples/garageclient.cpp +++ b/resource/examples/garageclient.cpp @@ -164,7 +164,7 @@ void printRepresentation(const OCRepresentation& rep) // callback handler on PUT request void onPut(const HeaderOptions& /*headerOptions*/, const OCRepresentation& rep, const int eCode) { - if(eCode == SUCCESS_RESPONSE) + if(eCode == SUCCESS_RESPONSE || eCode == OC_STACK_RESOURCE_CHANGED) { std::cout << "PUT request was successful" << std::endl;