You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ma...@apache.org on 2004/02/05 11:24:17 UTC

cvs commit: apr/misc/unix errorcodes.c

martin      2004/02/05 02:24:17

  Modified:    misc/unix errorcodes.c
  Log:
  The APR_EGENERAL error is used inside Apache for returning internal
  error situations.
  However, when it was actually translated into a string, it read
  "Error string not specified yet". Add a string "Internal error"
  (and use "Error string not specified yet" for other (unspecified)
  APR errors).
  
  Revision  Changes    Path
  1.57      +2 -0      apr/misc/unix/errorcodes.c
  
  Index: errorcodes.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/errorcodes.c,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -u -r1.56 -r1.57
  --- errorcodes.c	12 Nov 2003 14:57:26 -0000	1.56
  +++ errorcodes.c	5 Feb 2004 10:24:17 -0000	1.57
  @@ -168,6 +168,8 @@
           return "The given path contained wildcard characters";
       case APR_EPROC_UNKNOWN:
           return "The process is not recognized.";
  +    case APR_EGENERAL:
  +        return "Internal error";
       default:
           return "Error string not specified yet";
       }