mirror of
https://github.com/bdnugget/kcgi.git
synced 2026-11-07 05:47:27 +00:00
Use proper template function.
This commit is contained in:
1 parent
ffd28f213a
commit
d77b0e20f3
1 file changed
+3
-3
+3
-3
@@ -31,12 +31,12 @@
|
||||
|
||||
#include "../kcgi.h"
|
||||
|
||||
static int
|
||||
static enum kcgi_err
|
||||
templatex_write(const char *dat, size_t sz, void *arg)
|
||||
{
|
||||
|
||||
fwrite(dat, 1, sz, stdout);
|
||||
return(1);
|
||||
return KCGI_OK;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -45,7 +45,7 @@ template_proc(size_t sz, void *arg)
|
||||
|
||||
assert(sz < 10);
|
||||
printf("[%zu]", sz);
|
||||
return(1);
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in new issue
Block a user