/*
- * Sherlock Library -- Poor Man's Profiler
+ * UCW Library -- Poor Man's Profiler
*
* (c) 2001 Martin Mares <mj@ucw.cz>
+ *
+ * This software may be freely distributed and used according to the terms
+ * of the GNU Lesser General Public License.
*/
#include "lib/lib.h"
if (o->usec < 0)
{
o->usec += 1000000;
- o->sec++;
+ o->sec--;
}
else while (o->usec >= 1000000)
{
o->usec -= 1000000;
- o->sec--;
+ o->sec++;
}
}
}