diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-06-26 10:48:20 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-06-26 10:48:20 +0200 |
commit | 8f5b65ec11c21035eca2cf87d40cc2f1578e5627 (patch) | |
tree | e88104ac5ce315386c55a9de2e98dea9c5bb7c98 /src/ua.c | |
parent | 7ea02318a1c15ad37e118784fd22695b9671dce9 (diff) |
ua: move whitespace to next line, a bit more readable
Diffstat (limited to 'src/ua.c')
-rw-r--r-- | src/ua.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -608,8 +608,9 @@ static int uri_complete(struct ua *ua, struct mbuf *buf, const char *uri) int err = 0; /* Skip initial whitespace */ - while (isspace(*uri)) uri++; - + while (isspace(*uri)) + ++uri; + len = str_len(uri); /* Append sip: scheme if missing */ |