Removed some temporary log messages
authorArt Cancro <ajc@uncensored.citadel.org>
Tue, 5 Jul 2011 22:07:35 +0000 (18:07 -0400)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 21:32:00 +0000 (21:32 +0000)
webcit/html2html.c
webcit/paramhandling.c

index 5f0ae0f16794e7537bb87f6072e337359907271c..588033cf442cb5440fefb96579a9b1cf088aecbb 100644 (file)
@@ -386,7 +386,6 @@ void output_html(const char *supplied_charset, int treat_as_wiki, int msgnum, St
                else if (!strncasecmp(ptr, "<a href=\"", 9)) {
                        ++alevel;
                        ++brak;
-                       syslog(LOG_DEBUG, "\033[32mHYPERLINK: %s\033[0m", ptr);
                        if ( ((strchr(ptr, ':') < strchr(ptr, '/')))
                                        &&  ((strchr(ptr, '/') < strchr(ptr, '>'))) 
                           ) {
index c3c8490af75b8381db8a01823a5937b7688cd9c9..ed1a1a5879aa1adc1d7d24fda3342d7809f7e089 100644 (file)
@@ -1,5 +1,21 @@
 /*
  * parse urlparts and post data
+ *
+ * Copyright (c) 1996-2011 by the citadel.org team
+ *
+ * This program is open source software.  You can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
 #include "webcit.h"
@@ -308,7 +324,7 @@ void upload_handler(char *name, char *filename, char *partnum, char *disp,
        long keylen;
 
 #ifdef DEBUG_URLSTRINGS
-       syslog(9, "\033[31mupload_handler() name=%s, type=%s, len=%d\033[0m\n", name, cbtype, length);
+       syslog(9, "upload_handler() name=%s, type=%s, len=%d", name, cbtype, length);
 #endif
        if (WCC->Hdr->urlstrings == NULL)
                WCC->Hdr->urlstrings = NewHash(1, NULL);
@@ -333,7 +349,7 @@ void upload_handler(char *name, char *filename, char *partnum, char *disp,
                        free_url(u);
                }
 #ifdef DEBUG_URLSTRINGS
-               syslog(9, "Key: <%s> len: [%d] Data: <%s>\n", 
+               syslog(9, "Key: <%s> len: [%d] Data: <%s>", 
                        u->url_key, 
                        StrLength(u->url_data), 
                        ChrPtr(u->url_data));
@@ -347,7 +363,7 @@ void upload_handler(char *name, char *filename, char *partnum, char *disp,
                WCC->upload_filename = NewStrBufPlain(filename, -1);
                safestrncpy(WCC->upload_content_type, cbtype, sizeof(WC->upload_content_type));
 #ifdef DEBUG_URLSTRINGS
-               syslog(9, "File: <%s> len: [%ld]\n", filename, length);
+               syslog(9, "File: <%s> len: [%ld]", filename, length);
 #endif
                
        }