fix url parsing

This commit is contained in:
Seven Du 2014-09-09 11:51:26 +08:00
parent 3c7e7c757a
commit 590382f4a6
1 changed files with 0 additions and 3 deletions

View File

@ -3670,9 +3670,6 @@ switch_status_t clean_uri(char *uri)
}
}
*uri++ = '/';
*uri-- = '\0';
for(i = 1; i < last; i++) {
len = strlen(argv[i]);
sprintf(uri + uri_len, "/%s", argv[i]);