Sun, 24 Feb 2019 14:55:59 +0100
fixes todo: use scstr instead of sstr
dav/main.c | file | annotate | diff | comparison | revisions |
--- a/dav/main.c Sun Feb 24 14:49:58 2019 +0100 +++ b/dav/main.c Sun Feb 24 14:55:59 2019 +0100 @@ -229,14 +229,13 @@ }; char* find_usage_str(const char *cmd) { - // TODO: use scstr_t after UCX update - sstr_t c = sstr((char*)cmd); + scstr_t c = scstr(cmd); for(int i=0;;i++) { char *str = cmdusageinfo[i]; if(!str) { break; } - sstr_t u = sstr(str); + scstr_t u = scstr(str); if(sstrprefix(u, c)) { return str; }