summaryrefslogtreecommitdiff
path: root/navit/navit.c
diff options
context:
space:
mode:
authorjandegr <jandegr@users.noreply.github.com>2016-03-06 10:17:59 +0100
committerjandegr <jandegr@users.noreply.github.com>2016-03-06 10:17:59 +0100
commit0e89f54aa20ba3d612bd517a916b63fbbc8cdce3 (patch)
treefcdcaaecd69588be9e91456ec0725b33489e2a5c /navit/navit.c
parentf264f64bfdec420065de188a6215eeb779e3731c (diff)
downloadnavit-0e89f54aa20ba3d612bd517a916b63fbbc8cdce3.tar.gz
Update navit.c
Diffstat (limited to 'navit/navit.c')
-rw-r--r--navit/navit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/navit.c b/navit/navit.c
index 7e752f97d..129164de0 100644
--- a/navit/navit.c
+++ b/navit/navit.c
@@ -3391,9 +3391,9 @@ navit_layout_switch(struct navit *n)
//Check that we aren't calculating too fast
if (vehicle_get_attr(n->vehicle->vehicle, attr_position_time_iso8601,&iso8601_attr,NULL)==1) {
currTs=iso8601_to_secs(iso8601_attr.u.str);
- dbg(0,"currTs: %u:%u\n",currTs%86400/3600,((currTs%86400)%3600)/60);
+ dbg(lvl_debug,"currTs: %u:%u\n",currTs%86400/3600,((currTs%86400)%3600)/60);
}
- dbg(0,"prevTs: %u:%u\n",n->prevTs%86400/3600,((n->prevTs%86400)%3600)/60);
+ dbg(lvl_debug,"prevTs: %u:%u\n",n->prevTs%86400/3600,((n->prevTs%86400)%3600)/60);
if (currTs-(n->prevTs)<60) {
//We've have to wait a little
return;
@@ -3467,8 +3467,8 @@ navit_layout_switch(struct navit *n)
* the version of the active layout (day/night/undefined)
*/
static
-void navit_cmd_switch_layout_day_night(struct navit *this_, char *function, struct attr **in, struct attr ***out, int valid){
-
+void navit_cmd_switch_layout_day_night(struct navit *this_, char *function, struct attr **in, struct attr ***out, int valid)
+{
if (!(in && in[0] && ATTR_IS_STRING(in[0]->type))) {
return;