Skip to content

Commit

Permalink
We should always return an int. Removing extra new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ozten committed Sep 27, 2011
1 parent 92291bf commit 8ff6e2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Vagrantfile
@@ -1,7 +1,7 @@
Vagrant::Config.run do |config|

config.vm.box = "lucid32_1.box"
config.vm.box_url = "http://people.mozilla.org/~aking/sasl_browserid/lucid32_1.box"
config.vm.box = "lucid32_2.box"
config.vm.box_url = "http://people.mozilla.org/~aking/sasl_browserid/lucid32_2.box"

# VM localhost
config.vm.forward_port("web", 80, 8080)
Expand Down
4 changes: 2 additions & 2 deletions plugins/verifier.c
Expand Up @@ -171,8 +171,6 @@ static int parse(const char* resp,
strcpy(browserid_response->email, email->u.string);
}



audience = yajl_tree_get(tree, audience_path, yajl_t_string);
if (!audience) {
syslog(LOG_ERR, "Expected field audience is missing");
Expand Down Expand Up @@ -201,5 +199,7 @@ static int parse(const char* resp,
} else {
strcpy(browserid_response->reason, reason->u.string);
}
return 1;
}
return 0;
}

0 comments on commit 8ff6e2b

Please sign in to comment.