proc: do not declare empty process variables
authorJo-Philipp Wich <jo@mein.io>
Sun, 2 Jul 2017 14:06:46 +0000 (16:06 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 2 Jul 2017 14:06:46 +0000 (16:06 +0200)
commitfa51d7fbc67aa27b423c50c77b817514de6def09
treef3a181c61637b145b6f4d7cb2ff0eb24fac9ef19
parenta8bf9c00842224edb394e79909053f7628ee6a82
proc: do not declare empty process variables

If a HTTP header variable has no corresponding value, then do not set it
to the empty string but to NULL, so that cgi.c will later skip it when
setting up the process environment.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
proc.c