C ensures that static variables are initialized to 0

This commit is contained in:
Dan Fandrich 2004-12-22 20:12:15 +00:00
parent 3acda85c2b
commit 99befd3a15
2 changed files with 3 additions and 3 deletions

View file

@ -1539,7 +1539,7 @@ void curl_formfree(struct curl_httppost *form)
char *Curl_FormBoundary(void)
{
char *retstring;
static int randomizer=0; /* this is just so that two boundaries within
static int randomizer; /* this is just so that two boundaries within
the same form won't be identical */
size_t i;