diff options
author | tenox7 <as@tenoware.com> | 2018-07-14 02:43:18 -0700 |
---|---|---|
committer | tenox7 <as@tenoware.com> | 2018-07-14 02:43:18 -0700 |
commit | 250dce3faa1d07c6376fde5b6d7a2245dcebebc3 (patch) | |
tree | eb499f3f19fab53d6096833cb17202722f3c0bc5 /wfm.c | |
parent | d24ebd53cbe25a40e09ab5b0b7aa1a2d2caf3bcf (diff) | |
download | wfm-250dce3faa1d07c6376fde5b6d7a2245dcebebc3.tar.gz |
merged new cgic version, disabled upload status
Diffstat (limited to 'wfm.c')
-rw-r--r-- | wfm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,7 +35,7 @@ int icon(void) { // Display upload status in SHM via key_id // Called by early action=upstat // -void upload_status(void) { +/*void upload_status(void) { int shm_key=-1; int shm_id=-1; char *shm_val=NULL; @@ -61,7 +61,7 @@ void upload_status(void) { shmdt(shm_val); exit(0); -} +}*/ // @@ -566,7 +566,7 @@ int cgiMain(void) { // early action - simple actions before cfg is read or access check performed (no authentication!) cgiFormStringNoNewlines("ea", ea, sizeof(ea)); if(strcmp(ea, "icon")==0) icon(); - if(strcmp(ea, "upstat")==0) upload_status(); +// if(strcmp(ea, "upstat")==0) upload_status(); // normal initialization tstart(); |