summaryrefslogtreecommitdiffstats
path: root/mod_glusterfs/lighttpd
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
parent6609b1d37bd0254ec0eb068758862a0bb0e78515 (diff)
change MALLOC to malloc
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'mod_glusterfs/lighttpd')
-rw-r--r--mod_glusterfs/lighttpd/1.4/mod_glusterfs.c4
-rw-r--r--mod_glusterfs/lighttpd/1.5/mod_glusterfs.c2
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); */
}