aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-09 00:49:34 +0000
committerYang Tse <yangsita@gmail.com>2009-06-09 00:49:34 +0000
commit16ae283fb46a852a70a4ef73bb3254239e59ea1e (patch)
tree0ec32fc0385ffe282a16affb1ce0527999964152
parent312600fe9ce4e7a0345fe90ff690c580dedda8e1 (diff)
initialize fread callback pointer to avoid compiler warning
-rw-r--r--CHANGES7
-rw-r--r--RELEASE-NOTES2
-rw-r--r--lib/formdata.c1
3 files changed, 8 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index fba25bbed..aec53194c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,11 @@
Changelog
+Yang Tse (9 Jun 2009)
+- Daniel Steinberg pointed out that Curl_FormInit() in formdata.c was not
+ initializing the fread callback pointer and this triggered a compiler
+ warning, also provided a friendly suggestion on how to fix it.
+
Daniel Stenberg (8 Jun 2009)
- Claes Jakobsson provided a patch for libcurl-NSS that fixed a bad refcount
issue with client certs that caused issues like segfaults.
@@ -21,7 +26,7 @@ Yang Tse (8 Jun 2009)
- Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers
included from Makefile.inc, and provided docs\INSTALL VxWorks section.
- I removed buildconf.bat from release and daily snapshot archives. This
+- I removed buildconf.bat from release and daily snapshot archives. This
file is only for CVS tree checkout builds.
Daniel Stenberg (8 Jun 2009)
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index fa76d9afb..2061683da 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -36,6 +36,6 @@ advice from friends like these:
Yang Tse, Daniel Fandrich, Kamil Dudka, Caolan McNamara, Frank McGeough,
Andre Guibert de Bruet, Mike Crowe, Claes Jakobsson, John E. Malmberg,
- Aaron Oneal, Igor Novoseltsev, Eric Wong, Bill Hoffman
+ Aaron Oneal, Igor Novoseltsev, Eric Wong, Bill Hoffman, Daniel Steinberg,
Thanks! (and sorry if I forgot to mention someone)
diff --git a/lib/formdata.c b/lib/formdata.c
index aa644ecb2..f2a4892bf 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -1425,6 +1425,7 @@ int Curl_FormInit(struct Form *form, struct FormData *formdata )
form->data = formdata;
form->sent = 0;
form->fp = NULL;
+ form->fread_func = ZERO_NULL;
return 0;
}