Add missing brace
authorMark Michelson <mmichelson@digium.com>
Thu, 15 Jan 2009 20:00:46 +0000 (20:00 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 15 Jan 2009 20:00:46 +0000 (20:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168732 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 99c70f9..ce796fc 100644 (file)
@@ -8057,6 +8057,7 @@ static int add_header(struct sip_request *req, const char *var, const char *valu
 
        if (sip_cfg.compactheaders) {
                var = find_alias(var, var);
 
        if (sip_cfg.compactheaders) {
                var = find_alias(var, var);
+       }
 
        ast_str_append(&req->data, 0, "%s: %s\r\n", var, value);
        req->header[req->headers] = req->data->str + req->len;
 
        ast_str_append(&req->data, 0, "%s: %s\r\n", var, value);
        req->header[req->headers] = req->data->str + req->len;