summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-03-25 08:20:19 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-03-25 08:20:19 -0700
commit1e33e5339d0ab7540bce9309e2802704d3a9d7e3 (patch)
treeab1b7fdf17889ebc736c4735147f1238ad7f6fee
parentc84cb16edd6305ae8618072e7890b949e20f40ac (diff)
downloadofono-1e33e5339d0ab7540bce9309e2802704d3a9d7e3.tar.bz2
Fix some small copy-and-paste typos
-rw-r--r--gatchat/ppp_cp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c
index df14a330..75b3bec9 100644
--- a/gatchat/ppp_cp.c
+++ b/gatchat/ppp_cp.c
@@ -168,7 +168,7 @@ static void pppcp_this_layer_down(struct pppcp_data *data)
{
struct pppcp_action *action = data->action;
- if (action->this_layer_up)
+ if (action->this_layer_down)
action->this_layer_down(data);
}
@@ -176,7 +176,7 @@ static void pppcp_this_layer_started(struct pppcp_data *data)
{
struct pppcp_action *action = data->action;
- if (action->this_layer_up)
+ if (action->this_layer_started)
action->this_layer_started(data);
}
@@ -184,7 +184,7 @@ static void pppcp_this_layer_finished(struct pppcp_data *data)
{
struct pppcp_action *action = data->action;
- if (action->this_layer_up)
+ if (action->this_layer_finished)
action->this_layer_finished(data);
}