提交 25aa0332 authored 作者: Mathieu Rene's avatar Mathieu Rene

(rupa) Avoid extra [ ] around header value

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12890 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 af681d88
......@@ -475,7 +475,7 @@ ESL_DECLARE(esl_status_t) esl_event_serialize(esl_event_t *event, char **str, es
if (encode) {
esl_url_encode(hp->value, encode_buf, encode_len);
} else {
esl_snprintf(encode_buf, encode_len, "[%s]", hp->value);
esl_snprintf(encode_buf, encode_len, "%s", hp->value);
}
llen = strlen(hp->name) + strlen(encode_buf) + 8;
......
......@@ -174,6 +174,8 @@ typedef enum {
#include <stdlib.h>
#include <string.h>
#ifndef WIN32
#include <sys/types.h>
#include <sys/select.h>
#include <netinet/tcp.h>
#include <sys/signal.h>
#include <unistd.h>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论