$OpenBSD$

fix up a stupid example

--- doc/examples/sessions.c.orig	Sat Dec  5 16:39:14 2015
+++ doc/examples/sessions.c	Sun Oct  2 17:27:05 2016
@@ -197,15 +197,10 @@ get_session (struct MHD_Connection *connection)
       fprintf (stderr, "calloc error: %s\n", strerror (errno));
       return NULL;
     }
-  /* not a super-secure way to generate a random session ID,
-     but should do for a simple example... */
   snprintf (ret->sid,
 	    sizeof (ret->sid),
 	    "%X%X%X%X",
-	    (unsigned int) rand (),
-	    (unsigned int) rand (),
-	    (unsigned int) rand (),
-	    (unsigned int) rand ());
+	    arc4random(), arc4random(), arc4random(), arc4random());
   ret->rc++;
   ret->start = time (NULL);
   ret->next = sessions;
