projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples: disable the message on the server example, measure the notify latency on...
[project/ubus.git]
/
examples
/
server.c
diff --git
a/examples/server.c
b/examples/server.c
index c5af1aa32f346cdf0e24d279cdf18a31c8fcf986..230048acaa3c6e9fb89696298f245775715e819b 100644
(file)
--- a/
examples/server.c
+++ b/
examples/server.c
@@
-94,11
+94,13
@@
test_notify(struct ubus_context *ctx, struct ubus_object *obj,
struct ubus_request_data *req, const char *method,
struct blob_attr *msg)
{
+#if 0
char *str;
str = blobmsg_format_json(msg, true);
fprintf(stderr, "Received notification '%s': %s\n", method, str);
free(str);
+#endif
return 0;
}