Relocate a comment in ssplit()
[privoxy.git] / ssplit.c
index b0da451..a271ac8 100644 (file)
--- a/ssplit.c
+++ b/ssplit.c
@@ -1,4 +1,4 @@
-const char ssplit_rcs[] = "$Id: ssplit.c,v 1.13 2012/03/09 16:23:50 fabiankeil Exp $";
+const char ssplit_rcs[] = "$Id: ssplit.c,v 1.15 2012/06/08 15:16:15 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/ssplit.c,v $
@@ -43,10 +43,6 @@ const char ssplit_rcs[] = "$Id: ssplit.c,v 1.13 2012/03/09 16:23:50 fabiankeil E
 
 const char ssplit_h_rcs[] = SSPLIT_H_VERSION;
 
-/* Define this for lots of debugging information to stdout */
-#undef SSPLIT_VERBOSE
-/* #define SSPLIT_VERBOSE 1 */
-
 
 /*********************************************************************
  *
@@ -149,18 +145,8 @@ int ssplit(char *str, const char *delim, char *vec[], size_t vec_len)
          str++;
       }
    }
-   *str = '\0';     /* null terminate the substring */
-
-#ifdef SSPLIT_VERBOSE
-   {
-      int i;
-      printf("dump %d strings\n", vec_count);
-      for (i = 0; i < vec_count; i++)
-      {
-         printf("%d '%s'\n", i, vec[i]);
-      }
-   }
-#endif /* def SSPLIT_VERBOSE */
+   /* null terminate the substring */
+   *str = '\0';
 
    return(vec_count);
 }