[SR-Dev] git:janakj/ldap: Despite what some people believe there is no such thing

Jan Janak jan at iptel.org
Fri Feb 13 00:57:03 CET 2009


Module: sip-router
Branch: janakj/ldap
Commit: 6efb82604a4a056359e11dc6d9fe6c5152715f2e
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6efb82604a4a056359e11dc6d9fe6c5152715f2e

Author: Maxim Sobolev <sobomax at sippysoft.com>
Committer: Maxim Sobolev <sobomax at sippysoft.com>
Date:   Sat May 17 10:03:15 2008 +0000

Despite what some people believe there is no such thing
as <malloc.h> in the C language nowadays.

---

 modules/db_ldap/ld_con.c    |    2 +-
 modules/db_ldap/ld_config.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/db_ldap/ld_con.c b/modules/db_ldap/ld_con.c
index 5a47dc6..6691768 100644
--- a/modules/db_ldap/ld_con.c
+++ b/modules/db_ldap/ld_con.c
@@ -44,7 +44,7 @@
 #include "../../ut.h"
 
 #include <ldap.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 
 
diff --git a/modules/db_ldap/ld_config.c b/modules/db_ldap/ld_config.c
index 57bcee1..0b8a781 100644
--- a/modules/db_ldap/ld_config.c
+++ b/modules/db_ldap/ld_config.c
@@ -38,7 +38,7 @@
 #include "../../resolve.h"
 
 #include <ldap.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <stdio.h>
 #include <libgen.h>
 




More information about the sr-dev mailing list