[Olsr-cvs] olsrd-current/src plugin_util.c,1.6,1.7
Bernd Petrovitsch
(spam-protected)
Wed Oct 24 15:45:03 CEST 2007
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15150/src
Modified Files:
plugin_util.c
Log Message:
* avoid a warning
Index: plugin_util.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/plugin_util.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** plugin_util.c 17 Sep 2007 21:57:06 -0000 1.6
--- plugin_util.c 24 Oct 2007 13:45:00 -0000 1.7
***************
*** 122,126 ****
if (data != NULL) {
char *v = data;
! if (strlen(value) >= addon.ui) {
OLSR_PRINTF(0, "String too long \"%s\"", value);
return 1;
--- 122,126 ----
if (data != NULL) {
char *v = data;
! if ((unsigned)strlen(value) >= addon.ui) {
OLSR_PRINTF(0, "String too long \"%s\"", value);
return 1;
More information about the Olsr-cvs
mailing list