projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged revisions 310240 via svnmerge from
[asterisk/asterisk.git]
/
res
/
res_phoneprov.c
diff --git
a/res/res_phoneprov.c
b/res/res_phoneprov.c
index
e969bc4
..
24d7b65
100644
(file)
--- a/
res/res_phoneprov.c
+++ b/
res/res_phoneprov.c
@@
-440,7
+440,7
@@
static int phoneprov_callback(struct ast_tcptls_session_instance *ser, const str
}
http_header = ast_str_create(80);
}
http_header = ast_str_create(80);
- ast_str_set(&http_header, 0, "Content-type: %s",
+ ast_str_set(&http_header, 0, "Content-type: %s\r\n",
route->file->mime_type);
ast_http_send(ser, method, 200, NULL, http_header, NULL, fd, 0);
route->file->mime_type);
ast_http_send(ser, method, 200, NULL, http_header, NULL, fd, 0);
@@
-504,7
+504,7
@@
static int phoneprov_callback(struct ast_tcptls_session_instance *ser, const str
}
http_header = ast_str_create(80);
}
http_header = ast_str_create(80);
- ast_str_set(&http_header, 0, "Content-type: %s",
+ ast_str_set(&http_header, 0, "Content-type: %s\r\n",
route->file->mime_type);
if (!(result = ast_str_create(512))) {
route->file->mime_type);
if (!(result = ast_str_create(512))) {