Module: kamailio
Branch: master
Commit: 434dd7400b88664ac3930a38d69568a06d9edf67
URL:
https://github.com/kamailio/kamailio/commit/434dd7400b88664ac3930a38d69568a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-12T08:31:28+02:00
core: parse iidentityinfo - use ZSW() define from core
---
Modified: src/core/parser/parse_identityinfo.c
Modified: src/core/parser/parse_identityinfo.h
---
Diff:
https://github.com/kamailio/kamailio/commit/434dd7400b88664ac3930a38d69568a…
Patch:
https://github.com/kamailio/kamailio/commit/434dd7400b88664ac3930a38d69568a…
---
diff --git a/src/core/parser/parse_identityinfo.c b/src/core/parser/parse_identityinfo.c
index 5111ad70b4..da613e798f 100644
--- a/src/core/parser/parse_identityinfo.c
+++ b/src/core/parser/parse_identityinfo.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#include "../ut.h"
#include "../mem/mem.h"
#include "parse_def.h"
#include "parse_identityinfo.h"
diff --git a/src/core/parser/parse_identityinfo.h b/src/core/parser/parse_identityinfo.h
index e4f3190b00..10cbe59e40 100644
--- a/src/core/parser/parse_identityinfo.h
+++ b/src/core/parser/parse_identityinfo.h
@@ -59,8 +59,6 @@ enum {
II_M_TOKEN
};
-#define ZSW(_c) ((_c)?(_c):"")
-
struct identityinfo_body {
int error; /* Error code */
str uri; /* URI */