Changes to gnats/gnats/cmds.c
Milan Zamazal <[email protected]> Sun, 28 Jul 2002 15:20:52 -0400
| Newsgroups | gmane.comp.bug-tracking.gnats.patches |
|---|---|
| Message-ID | <[email protected]> |
Index: gnats/gnats/cmds.c
diff -c gnats/gnats/cmds.c:1.67 gnats/gnats/cmds.c:1.68
*** gnats/gnats/cmds.c:1.67 Fri Jul 19 02:59:13 2002
--- gnats/gnats/cmds.c Sun Jul 28 15:20:52 2002
***************
*** 621,627 ****
if (! verifyHostAndUser (new_db, current_host, current_addr,
currentUsername, currentPassword, &access))
{
! char *database_name = databaseName(new_db);
/* Hmmm. Should we still do this here? ??? XXX !!! */
syslog (LOG_ERR, "host %s (%s) not allowed access for %s",
current_host, current_addr, database_name);
--- 621,627 ----
if (! verifyHostAndUser (new_db, current_host, current_addr,
currentUsername, currentPassword, &access))
{
! const char *database_name = databaseName(new_db);
/* Hmmm. Should we still do this here? ??? XXX !!! */
syslog (LOG_ERR, "host %s (%s) not allowed access for %s",
current_host, current_addr, database_name);