Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
void generate_uuid(char *buf) {
static int seq = 0;
- sprintf(buf, "{%08x-%04x-%04x-%04x-%012x}",
+ sprintf(buf, "%08x-%04x-%04x-%04x-%012x",
(int)time(NULL),
(seq++),
getpid(),
$Log$
+Revision 611.1 2005/06/02 16:10:08 ajc
+* tools.c: generated uuid's no longer contain "{" and "}" characters.
+
Revision 611.0 2005/05/26 04:38:09 ajc
* THIS IS 6.11
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
void generate_uuid(char *buf) {
static int seq = 0;
- sprintf(buf, "{%08x-%04x-%04x-%04x-%012x}",
+ sprintf(buf, "%08x-%04x-%04x-%04x-%012x",
(int)time(NULL),
(seq++),
getpid(),