andya       2004/04/29 10:37:32

  Modified:    jk/native2/server/dsapi jk_dsapi_plugin.c
  Log:
  More minor tidying up.
  
  Revision  Changes    Path
  1.13      +12 -11    
jakarta-tomcat-connectors/jk/native2/server/dsapi/jk_dsapi_plugin.c
  
  Index: jk_dsapi_plugin.c
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/native2/server/dsapi/jk_dsapi_plugin.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- jk_dsapi_plugin.c 29 Apr 2004 17:25:32 -0000      1.12
  +++ jk_dsapi_plugin.c 29 Apr 2004 17:37:32 -0000      1.13
  @@ -112,14 +112,14 @@
   
   #if defined(TESTING)
   static void AddInLogMessageText(char *fmt, unsigned short err, ...) {
  -     va_list ap;
  -     va_start(ap, err);
  +    va_list ap;
  +    va_start(ap, err);
   
  -     printf("Debug: ");
  -     vprintf(fmt, ap);
  -     printf("\n");
  +    printf("Debug: ");
  +    vprintf(fmt, ap);
  +    printf("\n");
   
  -     va_end(ap);
  +    va_end(ap);
   }
   #endif
   
  @@ -648,8 +648,9 @@
           diagnostic = "Unspecified error";
       }
   
  -    // This assumes that we're just going to expand the diagnostic into
  -    // the page body.
  +    /* This assumes that we're just going to expand the diagnostic into
  +     * the page body.
  +     */
       bufSz = strlen(msg) + strlen(diagnostic) + 1;
   
       mbuf = context->AllocMem(context, bufSz, 0, &errID);
  @@ -669,7 +670,7 @@
       WORD lValue, type;
       STATUS error;
   
  -    if (NULL == pMatch || NULL == pInfo || (itemNumber < 0)) {
  +    if (NULL == pMatch || NULL == pInfo) {
           return -1;
       }
   
  @@ -684,7 +685,7 @@
       }
   
       lValue -= sizeof(WORD); /* remove datatype word included in the list length */
  -     lValue++; /* Include length of terminator */
  +    lValue++; /* Include length of terminator */
   
       /* check the value type */
       if (type != TYPE_TEXT_LIST && type != TYPE_TEXT) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to