diff options
-rw-r--r-- | mod_glusterfs/lighttpd/1.4/mod_glusterfs.c | 4 | ||||
-rw-r--r-- | 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 9de33b7c4..b964ef430 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 4329640e2..919218e1d 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); */ } |