diff options
-rw-r--r-- | src/Content.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Content.c b/src/Content.c index 1370c2e..bd4df0a 100644 --- a/src/Content.c +++ b/src/Content.c @@ -373,7 +373,7 @@ static int MainPage(const cGH *cctkGH, httpRequest *request, void *data) String *menu = String_New(); const char *dir = NULL; const char *file = NULL; - char *user = NULL; + char *this_user = NULL; struct httpLink *hlink = NULL; int seconds,minutes,hours,days,weeks,months,years,millenia; char host[HOSTLENGTH+1] = EMPTYSTRING; @@ -672,11 +672,11 @@ static int MainPage(const cGH *cctkGH, httpRequest *request, void *data) } HTTP_SendString(request, message ); - user = getenv ("USER"); - if (user) + this_user = getenv ("USER"); + if (this_user) { SetToCString(message, " <li> Started by <span class=\"hilite\">"); - ConcatCString(message, user); + ConcatCString(message, this_user); ConcatCString(message, "</span></li>\n"); HTTP_SendString(request, message ); } |