summaryrefslogtreecommitdiff
path: root/res/res_pjsip/pjsip_global_headers.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_pjsip/pjsip_global_headers.c')
-rw-r--r--res/res_pjsip/pjsip_global_headers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_pjsip/pjsip_global_headers.c b/res/res_pjsip/pjsip_global_headers.c
index 501f5f523..4de28b586 100644
--- a/res/res_pjsip/pjsip_global_headers.c
+++ b/res/res_pjsip/pjsip_global_headers.c
@@ -55,7 +55,7 @@ struct header {
static struct header *alloc_header(const char *name, const char *value)
{
struct header *alloc;
-
+
alloc = ast_calloc_with_stringfields(1, struct header, 32);
if (!alloc) {
@@ -139,7 +139,7 @@ static int add_header(struct header_list *headers, const char *name, const char
}
AST_RWLIST_WRLOCK(headers);
- if (replace) {
+ if (replace) {
remove_header(headers, name);
}
if (to_add) {