You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by da...@apache.org on 2001/11/20 11:47:37 UTC

cvs commit: tcl-websh/src/generic request_ap.c

davidw      01/11/20 02:47:37

  Modified:    src/generic request_ap.c
  Log:
  Make return values from requestFillRequestValues comply with function
  declaration (TCL_ERROR instead of NULL).
  
  Revision  Changes    Path
  1.4       +3 -3      tcl-websh/src/generic/request_ap.c
  
  Index: request_ap.c
  ===================================================================
  RCS file: /home/cvs/tcl-websh/src/generic/request_ap.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- request_ap.c	2001/10/25 17:50:13	1.3
  +++ request_ap.c	2001/11/20 10:47:37	1.4
  @@ -9,7 +9,7 @@
    * See the file "license.terms" for information on usage and
    * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    *
  - * @(#) $Id: request_ap.c,v 1.3 2001/10/25 17:50:13 davidw Exp $
  + * @(#) $Id: request_ap.c,v 1.4 2001/11/20 10:47:37 davidw Exp $
    *
    */
   
  @@ -50,7 +50,7 @@
       requestData->requestIsInitialized = 1;
   
       if (interp == NULL)
  -	return NULL;
  +	return TCL_ERROR;
   
       /* fetch request object */
       r = (request_rec *) Tcl_GetAssocData(interp, WEB_AP_ASSOC_DATA, NULL);
  @@ -58,7 +58,7 @@
       /* r = (request_rec *)(requestData->handleToSpecificReqData); */
       if (r == NULL) {
   	Tcl_SetResult(interp, "error accessing httpd request object", NULL);
  -	return NULL;
  +	return TCL_ERROR;
       }
   
       reso = Tcl_NewObj();