Random whitespace/cosmetic fixes.
This commit is contained in:
parent
1135f8d9c7
commit
405b9c10eb
|
@ -555,8 +555,8 @@ SR_API int sr_rational_mult(struct sr_rational *res, const struct sr_rational *a
|
||||||
return SR_ERR_ARG;
|
return SR_ERR_ARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
res->p = (int64_t)(p);
|
res->p = (int64_t)p;
|
||||||
res->q = (uint64_t)(q);
|
res->q = (uint64_t)q;
|
||||||
|
|
||||||
return SR_OK;
|
return SR_OK;
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ static GString *gen_header(const struct sr_output *o)
|
||||||
/* timestamp */
|
/* timestamp */
|
||||||
t = time(NULL);
|
t = time(NULL);
|
||||||
timestamp = g_strdup(ctime(&t));
|
timestamp = g_strdup(ctime(&t));
|
||||||
timestamp[strlen(timestamp)-1] = 0;
|
timestamp[strlen(timestamp) - 1] = 0;
|
||||||
g_string_printf(header, "$date %s $end\n", timestamp);
|
g_string_printf(header, "$date %s $end\n", timestamp);
|
||||||
g_free(timestamp);
|
g_free(timestamp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue