Checked in some grammatical and minor other fixes in the documentation and

examples that I found in the FreeBSD ports system.
This commit is contained in:
Dan Fandrich
2008-09-10 07:11:45 +00:00
parent c98ab69cc7
commit 152cf6325d
7 changed files with 130 additions and 122 deletions

View File

@@ -27,7 +27,11 @@ int main(void)
return 1; /* can't continue */
}
stat("debugit", &file_info); /* to get the file size */
/* to get the file size */
if(fstat(fileno(fd), &file_info) != 0) {
return 1; /* can't continue */
}
curl = curl_easy_init();
if(curl) {