search for: stringset_to_strarr

Displaying 2 results from an estimated 2 matches for "stringset_to_strarr".

2015 Sep 01
2
functional bug in code /clients/nutclient.cpp
Hi nut users, (this is a re-send from the correct account) With pleasure, I have been using the code provided. Managed to get all working properly, except for the nutclient lib in C. Both functions stringset_to_strarr and stringvector_to_strarr have a similar bug in play. Although trivial in code, the coded function does not operate as intended. The pointer increment is missing (see added line marked yellow below [pstr++;]), which results in the same element being updated over and over again, and then only leav...
2015 Sep 03
0
functional bug in code /clients/nutclient.cpp
...e nutclient lib in C. As you have noticed, nutclient has a few rough edges. The original upsclient library has had a lot more testing, although it is written in straight C. Be careful with some of the other nutclient wrappers. There are try/catch blocks that mask exceptions. > Both functions stringset_to_strarr and stringvector_to_strarr have a similar bug in play. Although trivial in code, the coded function does not operate as intended. > The pointer increment is missing (see added line marked yellow below [pstr++;]), which results in the same element being updated over and over again, and then only...