Index: libslp/libslp_findsrvtypes.c =================================================================== RCS file: /cvsroot/openslp/openslp/libslp/libslp_findsrvtypes.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -p -r1.24 -r1.25 --- libslp/libslp_findsrvtypes.c 21 Apr 2003 11:21:32 -0000 1.24 +++ libslp/libslp_findsrvtypes.c 19 Nov 2003 05:39:51 -0000 1.25 @@ -111,10 +111,10 @@ SLPBoolean ColateSrvTypeCallback(SLPHand } /* Add the service types to the colation */ - srvtypeslen = strlen(pcSrvTypes) + 1; + srvtypeslen = strlen(pcSrvTypes) + 1; /* +1 - terminator */ if(handle->collatedsrvtypes) { - srvtypeslen += strlen(handle->collatedsrvtypes); + srvtypeslen += strlen(handle->collatedsrvtypes) + 1; /* +1 - comma */ } srvtypes = xmalloc(srvtypeslen);