summaryrefslogtreecommitdiff
path: root/examples/nntpclient.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-05-01 01:31:16 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-09-08 16:06:03 +0300
commit7220d9ddf7abd7ec0cb499194b3272467b4bf91c (patch)
tree67e64ab157680812f6135460ba0437fe7eeef52c /examples/nntpclient.c
parent1f4deff1e92e2c23020dcf93f3836895d6b6ac5d (diff)
downloadmailutils-7220d9ddf7abd7ec0cb499194b3272467b4bf91c.tar.gz
mailutils-7220d9ddf7abd7ec0cb499194b3272467b4bf91c.tar.bz2
Fix compilation of several example programs.
* examples/header.c: Use streamrefs. * examples/mimetest.c: Likewise. * examples/mta.c: Likewise. * examples/nntpclient.c: Remove an unused variable.
Diffstat (limited to 'examples/nntpclient.c')
-rw-r--r--examples/nntpclient.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/nntpclient.c b/examples/nntpclient.c
index 2c652f145..4fac95309 100644
--- a/examples/nntpclient.c
+++ b/examples/nntpclient.c
@@ -423,7 +423,6 @@ com_body (char *arg)
if (status == 0 && stream != NULL)
{
- size_t n = 0;
char buf[128];
while (mu_stream_readline (stream, buf, sizeof buf, 0) == 0)
printf ("%s", buf);

Return to:

Send suggestions and report system problems to the System administrator.