diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tipideed/tipideed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/tipideed.c b/src/tipideed/tipideed.c index 1c07cf3..0f5d44c 100644 --- a/src/tipideed/tipideed.c +++ b/src/tipideed/tipideed.c @@ -66,9 +66,9 @@ static inline void prep_env (size_t *remoteip, size_t *remotehost) if (x) stralloc_catb(&g.sa, sslvars, sizeof(sslvars)) ; g.ssl = !!x ; x = getenv(basevars) ; + if (!x) strerr_dienotset(100, "PROTO") ; protolen = strlen(x) ; if (protolen > 1000) strerr_dieinvalid(100, "PROTO") ; - if (!x) strerr_dienotset(100, "PROTO") ; { size_t m ; ip46 ip ; |