Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
47
Issues
47
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
26ea047c
Commit
26ea047c
authored
Dec 28, 2011
by
Aurelio Colosimo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation error (PP_DEFAULT_NEXT_DELAY_MS was misspelled)
parent
63e90550
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
state-faulty.c
proto-standard/state-faulty.c
+1
-1
state-initializing.c
proto-standard/state-initializing.c
+2
-2
state-listening.c
proto-standard/state-listening.c
+1
-1
state-passive.c
proto-standard/state-passive.c
+1
-1
No files found.
proto-standard/state-faulty.c
View file @
26ea047c
...
...
@@ -13,6 +13,6 @@ int pp_faulty(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
pp_printf
(
"event FAULT_CLEARED
\n
"
);
ppi
->
next_state
=
PPS_INITIALIZING
;
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
;
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
_MS
;
return
0
;
}
proto-standard/state-initializing.c
View file @
26ea047c
...
...
@@ -61,12 +61,12 @@ int pp_initializing(struct pp_instance *ppi, unsigned char *pkt, int plen)
msg_pack_header
(
ppi
->
buf_out
,
ppi
);
ppi
->
next_state
=
PPS_LISTENING
;
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
;
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
_MS
;
return
0
;
failure:
pp_printf
(
"Failed to initialize network
\n
"
);
ppi
->
next_state
=
PPS_FAULTY
;
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
;
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
_MS
;
return
0
;
}
proto-standard/state-listening.c
View file @
26ea047c
...
...
@@ -40,7 +40,7 @@ state_updated:
pp_timer_stop
(
ppi
->
timers
[
PP_TIMER_ANNOUNCE_RECEIPT
]);
}
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
;
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
_MS
;
return
0
;
}
proto-standard/state-passive.c
View file @
26ea047c
...
...
@@ -53,7 +53,7 @@ state_updated:
pp_timer_stop
(
ppi
->
timers
[
PP_TIMER_PDELAYREQ_INTERVAL
]);
}
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
;
ppi
->
next_delay
=
PP_DEFAULT_NEXT_DELAY
_MS
;
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment