[hobbit] SIGBUS in bbcombotest [solved...see diff]
Nicolas Dorfsman
ndo at unikservice.com
Wed Jul 5 15:44:33 CEST 2006
*** bbcombotest.c.orig Fri May 19 14:02:54 2006
--- bbcombotest.c Wed Jul 5 15:43:22 2006
***************
*** 69,77 ****
/* grab the testname part from a "www.xxx.com.testname"
string */
p = strrchr(spec, '.');
! if (p) result = strdup(p+1); else result = "";
! return result;
}
static void flush_valuelist(value_t *head)
--- 69,81 ----
/* grab the testname part from a "www.xxx.com.testname"
string */
p = strrchr(spec, '.');
! if (p) {
! result = strdup(p);
! }
! else
! result = "";
! return result+1;
}
static void flush_valuelist(value_t *head)
More information about the Xymon
mailing list