summaryrefslogtreecommitdiffstats
path: root/mod_glusterfs/lighttpd/1.4
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@zresearch.com>2009-02-25 00:47:43 -0800
committerAnand V. Avati <avati@amp.gluster.com>2009-02-25 16:48:57 +0530
commit029913bbd62ed7e3c3f436afe92ad6bca9dc642c (patch)
tree61997251396ae95e74efaaa232d65c1d637a23ba /mod_glusterfs/lighttpd/1.4
parent6609b1d37bd0254ec0eb068758862a0bb0e78515 (diff)
change MALLOC to malloc
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'mod_glusterfs/lighttpd/1.4')
-rw-r--r--mod_glusterfs/lighttpd/1.4/mod_glusterfs.c4
1 files changed, 2 insertions, 2 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;