projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
service: fix a leftover debug hack
[project/procd.git]
/
service
/
watch.c
diff --git
a/service/watch.c
b/service/watch.c
index
1d7cf78
..
0d2d9e0
100644
(file)
--- a/
service/watch.c
+++ b/
service/watch.c
@@
-100,11
+100,11
@@
watch_notify_cb(struct ubus_context *ctx, struct ubus_object *obj,
struct ubus_request_data *req, const char *method,
struct blob_attr *msg)
{
struct ubus_request_data *req, const char *method,
struct blob_attr *msg)
{
- if (
1 ||
debug >= 3) {
+ if (debug >= 3) {
char *str;
str = blobmsg_format_json(msg, true);
char *str;
str = blobmsg_format_json(msg, true);
-
LOG(
"Received ubus notify '%s': %s\n", method, str);
+
DEBUG(3,
"Received ubus notify '%s': %s\n", method, str);
free(str);
}
free(str);
}