*
* This program is open source software. You can redistribute it and/or
* modify it under the terms of the GNU General Public License, version 3.
- *
- *
*
* 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.
- *
- *
- *
- *
*/
#include "webcit.h"
}
keylen = aptr - up - 1; /* -1 -> '=' */
if(keylen > sizeof(u->url_key)) {
- syslog(1, "URLkey to long! [%s]", up);
+ syslog(1, "invalid url_key");
continue;
}
memcpy(u->url_key, up, keylen);
u->url_key[keylen] = '\0';
if (keylen < 0) {
- syslog(1, "URLkey to long! [%s]", up);
+ syslog(1, "invalid url_key");
free(u);
continue;
}
urlcontent *u;
if(keylen > sizeof(u->url_key)) {
- syslog(1, "URLkey to long! [%s]", key);
+ syslog(1, "invalid url_key");
FreeStrBuf(&Value);
return;
}