[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] SIGBUS in bbcombotest [solved...see diff]



*** 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)