summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 53a8fb0)
raw | patch | inline | side by side (parent: 53a8fb0)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Apr 2014 07:08:06 +0000 (09:08 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Apr 2014 07:08:06 +0000 (09:08 +0200) |
src/core/plugin.c | patch | blob | history | |
t/utils/channel_test.c | patch | blob | history |
diff --git a/src/core/plugin.c b/src/core/plugin.c
index 873e64a19436903c379bff983565c825008f2a43..a73faa04f726a3353ea788548493078279dcfb30 100644 (file)
--- a/src/core/plugin.c
+++ b/src/core/plugin.c
int status;
+ assert(name);
+
base_name[0] = '\0';
name_ptr = name;
diff --git a/t/utils/channel_test.c b/t/utils/channel_test.c
index 02ed172a42ace53f1090e2b18379246681fe6774..3827c0705f7f78efa3cc77da6fc2bb526f1b6e32 100644 (file)
--- a/t/utils/channel_test.c
+++ b/t/utils/channel_test.c
data = 0xffffffff;
check = sdb_channel_read(chan, &data);
+ fail_unless(check == 0,
+ "sdb_channel_read() = %d; expected: 0", check);
/* result depends on endianess */
fail_unless((data == 0xffffff00) || (data == 0x00ffffff),
"sdb_channel_read() returned data %x; "