[sr-dev] git:master:9949f42c: core: ut.h

Stefan Mititelu stefan.mititelu at 1and1.ro
Thu Nov 19 15:06:52 CET 2015


Module: kamailio
Branch: master
Commit: 9949f42c9dedcb300ca6c99e53a3b171a6500c21
URL: https://github.com/kamailio/kamailio/commit/9949f42c9dedcb300ca6c99e53a3b171a6500c21

Author: Stefan Mititelu <stefan.mititelu at 1and1.ro>
Committer: Stefan Mititelu <stefan.mititelu at 1and1.ro>
Date: 2015-11-19T16:02:03+02:00

core: ut.h

Typo SHM_MEM_ERROR vs PKG_MEM_ERROR

---

Modified: ut.h

---

Diff:  https://github.com/kamailio/kamailio/commit/9949f42c9dedcb300ca6c99e53a3b171a6500c21.diff
Patch: https://github.com/kamailio/kamailio/commit/9949f42c9dedcb300ca6c99e53a3b171a6500c21.patch

---

diff --git a/ut.h b/ut.h
index 589bb28..8d4f01e 100644
--- a/ut.h
+++ b/ut.h
@@ -771,7 +771,7 @@ static inline int pkg_str_dup(str* dst, const str* src)
 
 	dst->s = (char*)pkg_malloc(dst->len);
 	if (dst->s == NULL) {
-		SHM_MEM_ERROR;
+		PKG_MEM_ERROR;
 		return -1;
 	}
 




More information about the sr-dev mailing list