summaryrefslogtreecommitdiff
path: root/source4/lib/appweb/esp
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/appweb/esp')
-rw-r--r--source4/lib/appweb/esp/esp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/appweb/esp/esp.h b/source4/lib/appweb/esp/esp.h
index 39dc5310c2..3d9b7bf8dc 100644
--- a/source4/lib/appweb/esp/esp.h
+++ b/source4/lib/appweb/esp/esp.h
@@ -103,7 +103,7 @@ typedef struct Esp {
int lifetime, const char *path, bool secure);
void (*setHeader)(EspHandle handle, const char *value, bool allowMultiple);
void (*setResponseCode)(EspHandle handle, int code);
- int (*writeBlock)(EspHandle handle, char *buf, int size);
+ int (*writeBlock)(EspHandle handle, const char *buf, int size);
int (*writeFmt)(EspHandle handle, char *fmt, ...);
#if BLD_FEATURE_MULTITHREAD
void (*lock)(void *lockData);