1 --- libnemesi/src/rtsp/rtsp_send.c.orig 2013-02-16 19:54:26.000000000 +0100
2 +++ libnemesi/src/rtsp/rtsp_send.c 2013-02-17 13:04:04.448030306 +0100
4 const char *content_base, const char *pathname)
6 if (!pathname || *pathname == 0 || *pathname == '*') {
7 - snprintf(str, size, content_base);
8 + snprintf(str, size, "%s", content_base);
9 } else if (!content_base || *content_base == 0 ||
10 strstr(pathname,"://") != NULL) {
11 - snprintf(str, size, pathname);
12 + snprintf(str, size, "%s", pathname);
14 snprintf(str, size, "%s/%s", content_base, pathname);