Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afb-req: Fix a bug in afb_req_verbose
[src/app-framework-binder.git]
/
src
/
jobs-fake.c
diff --git
a/src/jobs-fake.c
b/src/jobs-fake.c
index
3c1c273
..
d3cd19e
100644
(file)
--- a/
src/jobs-fake.c
+++ b/
src/jobs-fake.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2016, 2017
, 2018
"IoT.bzh"
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-71,7
+71,7
@@
static int add_job(const void *group, int timeout, void (*callback)(int signum,
else
first = j;
last = j;
else
first = j;
last = j;
- pthread_mutex_unlock(&mutex);
+ pthread_mutex_unlock(&mutex);
return 0;
}
return 0;
}
@@
-83,7
+83,7
@@
static void *thrrun(void *arg)
j = first;
if (j)
first = j->next;
j = first;
if (j)
first = j->next;
- pthread_mutex_unlock(&mutex);
+ pthread_mutex_unlock(&mutex);
if (j) {
j->callback(0, j->closure);
free(j);
if (j) {
j->callback(0, j->closure);
free(j);