Commit cac91f65 authored by Aurelio Colosimo's avatar Aurelio Colosimo

trivial: comment "int e" variable expliciting it is "error" variable

parent f1faad4f
......@@ -6,7 +6,7 @@
int pp_listening(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
int e = 0;
int e = 0; /* error var, to check errors in msg handling */
if (ppi->is_new_state)
st_com_restart_annrec_timer(ppi);
......
......@@ -12,7 +12,7 @@ int pp_master(struct pp_instance *ppi, unsigned char *pkt, int plen)
TimeInternal correction_field;
TimeInternal resp_orig_tstamp;
int e = 0;
int e = 0; /* error var, to check errors in msg handling */
MsgHeader *hdr = &ppi->msg_tmp_header;
if (ppi->is_new_state) {
......
......@@ -7,7 +7,7 @@
int pp_passive(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
TimeInternal time; /* TODO: handle it, see handle(...) in protocol.c */
int e = 0;
int e = 0; /* error var, to check errors in msg handling */
if (ppi->is_new_state) {
pp_timer_start(1 << DSPOR(ppi)->logMinPdelayReqInterval,
......
......@@ -7,7 +7,7 @@
int pp_slave(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
int e = 0;
int e = 0; /* error var, to check errors in msg handling */
TimeInternal time; /* TODO: handle it, see handle(...) in protocol.c */
TimeInternal req_rec_tstamp;
TimeInternal correction_field;
......
......@@ -6,7 +6,7 @@
int pp_uncalibrated(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
int e = 0;
int e = 0; /* error var, to check errors in msg handling */
TimeInternal time; /* TODO: handle it, see handle(...) in protocol.c */
switch (ppi->msg_tmp_header.messageType) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment