diff options
author | portix <portix@gmx.net> | 2012-01-03 11:23:30 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2012-01-03 11:23:30 +0100 |
commit | f224f93a7e9bd6ece4d81ad81826566a8ef2da38 (patch) | |
tree | 2f8cb7a12f67522ebcc5b3b001698170113e6e65 /src/util.c | |
parent | abbe6267ef09fc0a78f677355a3ac4ce1d96c62a (diff) | |
download | dwb-f224f93a7e9bd6ece4d81ad81826566a8ef2da38.zip |
Complete urls in command mode
--HG--
branch : experimental
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -680,3 +680,10 @@ util_strcasestr(const char *haystack, const char *needle) { } return NULL; } +int +util_strlen_trailing_space(const char *str) { + int len; + for (len=0; *str != '\0'; str++, len++); + return len; + +} |