From 029913bbd62ed7e3c3f436afe92ad6bca9dc642c Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Wed, 25 Feb 2009 00:47:43 -0800 Subject: change MALLOC to malloc Signed-off-by: Anand V. Avati --- mod_glusterfs/lighttpd/1.4/mod_glusterfs.c | 4 ++-- mod_glusterfs/lighttpd/1.5/mod_glusterfs.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mod_glusterfs/lighttpd/1.4/mod_glusterfs.c b/mod_glusterfs/lighttpd/1.4/mod_glusterfs.c index 9de33b7c437..b964ef4305c 100644 --- a/mod_glusterfs/lighttpd/1.4/mod_glusterfs.c +++ b/mod_glusterfs/lighttpd/1.4/mod_glusterfs.c @@ -894,7 +894,7 @@ PHYSICALPATH_FUNC(mod_glusterfs_handle_physical) { if (size) { - plugin_ctx->buf = MALLOC (size); + plugin_ctx->buf = malloc (size); /* ERR_ABORT (plugin_ctx->buf); */ } @@ -1516,7 +1516,7 @@ handler_t glusterfs_stat_cache_get_entry(server *srv, if (ctrl.size == 0) { ctrl.size = 16; ctrl.used = 0; - ctrl.ptr = MALLOC(ctrl.size * sizeof(*ctrl.ptr)); + ctrl.ptr = malloc(ctrl.size * sizeof(*ctrl.ptr)); /* ERR_ABORT (ctrl.ptr); */ } else if (ctrl.size == ctrl.used) { ctrl.size += 16; diff --git a/mod_glusterfs/lighttpd/1.5/mod_glusterfs.c b/mod_glusterfs/lighttpd/1.5/mod_glusterfs.c index 4329640e2f4..919218e1d26 100644 --- a/mod_glusterfs/lighttpd/1.5/mod_glusterfs.c +++ b/mod_glusterfs/lighttpd/1.5/mod_glusterfs.c @@ -1086,7 +1086,7 @@ PHYSICALPATH_FUNC(mod_glusterfs_handle_physical) { if (size) { - plugin_ctx->buf = MALLOC (size); + plugin_ctx->buf = malloc (size); /* ERR_ABORT (plugin_ctx->buf); */ } -- cgit