# HG changeset patch # User Olaf Wintermann # Date 1551016559 -3600 # Node ID 4575da18a27df506c86e74da109b25338df339e2 # Parent dea7d1b4eea091e8690103a639e9112fcdf879a4 fixes todo: use scstr instead of sstr diff -r dea7d1b4eea0 -r 4575da18a27d dav/main.c --- 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; }