diff --git a/doc/owlps-udp-to-http.t2t b/doc/owlps-udp-to-http.t2t index fa5e614..5e2e277 100644 --- a/doc/owlps-udp-to-http.t2t +++ b/doc/owlps-udp-to-http.t2t @@ -49,7 +49,7 @@ The HTTP requests currently implemented are listed bellow. Answer in case of error: ``` Results;NOK;Explanation -``Explanation`` is "NoResult" if no results were received from OwlPS +``Explanation`` is “NoResults” if no results were received from OwlPS Positioner yet. Normal answer: diff --git a/owlps-udp-to-http/owlps-udp-to-http.c b/owlps-udp-to-http/owlps-udp-to-http.c index f4c6f50..b238e7b 100644 --- a/owlps-udp-to-http/owlps-udp-to-http.c +++ b/owlps-udp-to-http/owlps-udp-to-http.c @@ -449,7 +449,7 @@ void prepare_answer(int request_id) if (! results) { - char answer_end[] = ";NOK;NoResult" ; + char answer_end[] = ";NOK;NoResults" ; strncpy(answer + answer_strlen, answer_end, strlen(answer_end)) ; answer_strlen += strlen(answer_end) ; @@ -499,7 +499,7 @@ void prepare_answer(int request_id) if (! results) { - char answer_end[] = ";NOK;NoResult" ; + char answer_end[] = ";NOK;NoResults" ; strncpy(answer + answer_strlen, answer_end, strlen(answer_end)) ; answer_strlen += strlen(answer_end) ;