aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtipidee
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtipidee')
-rw-r--r--src/libtipidee/tipidee_log_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtipidee/tipidee_log_resource.c b/src/libtipidee/tipidee_log_resource.c
index efdea69..38c7294 100644
--- a/src/libtipidee/tipidee_log_resource.c
+++ b/src/libtipidee/tipidee_log_resource.c
@@ -21,7 +21,7 @@ void tipidee_log_resource (uint32_t v, tipidee_rql const *rql, char const *file,
a[m++] = file ;
a[m++] = " type " ;
a[m++] = ra->flags & TIPIDEE_RA_FLAG_CGI ? ra->flags & TIPIDEE_RA_FLAG_NPH ? "nph" : "cgi" : ra->content_type ;
- if (ra->flags & TIPIDEE_RA_FLAG_CGI && infopath)
+ if (ra->flags & TIPIDEE_RA_FLAG_CGI && infopath[0])
{
a[m++] = " path_info /" ;
a[m++] = infopath ;