/*
This file is part of GNUnet
- (C) 2012 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2012 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
/* Setup communication pipeline first */
if (pipe (commpipe))
{
- fprintf (stderr,
+ fprintf (stderr,
"Failed to create pipe: %s\n",
STRERROR (errno));
exit (1);
/* Attempt to fork and check for errors */
if ((pid = fork ()) == -1)
{
- fprintf (stderr, "Failed to fork: %s\n",
- STRERROR (errno));
+ fprintf (stderr, "Failed to fork: %s\n",
+ STRERROR (errno));
exit (1);
}
{
bytes_per_s = count / (akt - start);
bytes_per_s /= 1024;
- printf ("recv %f kb/s\n", bytes_per_s);
+ printf ("recv %f kb/s\n", bytes_per_s);
start = akt;
count = 0;
}