his.c debug patch

George Lindholm George.Lindholm at ubc.ca
Fri Jul 30 18:27:05 UTC 1999


--------------4797BC789FDB98843FF2FFBD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Provide some more information about what is failing. 
-- 
George.Lindholm at ubc.ca       ITServices, UBC
Programmer/Analyst

phone:    604.822.4375       fax:      604.822.5116
--------------4797BC789FDB98843FF2FFBD
Content-Type: text/plain; charset=us-ascii;
 name="his.pa"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="his.pa"

*** innd/his.c	1999/07/29 18:03:10	1.1
--- innd/his.c	1999/07/29 19:56:03
***************
*** 328,334 ****
      /* Set up the database values and write them. */
      if (dbzstore(hash, offset) == DBZSTORE_ERROR) {
  	i = errno;
! 	syslog(L_ERROR, "%s cant dbzstore %m", LogName);
  	IOError("history database", i);
  	TMRstop(TMR_HISWRITE);
  	return FALSE;
--- 328,335 ----
      /* Set up the database values and write them. */
      if (dbzstore(hash, offset) == DBZSTORE_ERROR) {
  	i = errno;
! 	syslog(L_ERROR, "%s cant dbzstore [%s]@%lu: %m", LogName,
! 	       HashToText(hash), offset);
  	IOError("history database", i);
  	TMRstop(TMR_HISWRITE);
  	return FALSE;
***************
*** 373,379 ****
      /* Set up the database values and write them. */
      if (dbzstore(hash, offset) == DBZSTORE_ERROR) {
  	i = errno;
! 	syslog(L_ERROR, "%s cant dbzstore %m", LogName);
  	IOError("history database", i);
  	TMRstop(TMR_HISWRITE);
  	return FALSE;
--- 374,381 ----
      /* Set up the database values and write them. */
      if (dbzstore(hash, offset) == DBZSTORE_ERROR) {
  	i = errno;
! 	syslog(L_ERROR, "%s cant dbzstore [%s]@%lu: %m", LogName,
! 	       HashToText(hash), offset);
  	IOError("history database", i);
  	TMRstop(TMR_HISWRITE);
  	return FALSE;

--------------4797BC789FDB98843FF2FFBD--



More information about the inn-patches mailing list