summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: efa35a5)
raw | patch | inline | side by side (parent: efa35a5)
author | Florian Forster <octo@noris.net> | |
Thu, 13 Mar 2008 17:19:00 +0000 (18:19 +0100) | ||
committer | Florian Forster <octo@noris.net> | |
Thu, 13 Mar 2008 17:19:00 +0000 (18:19 +0100) |
src/mbmon.c | patch | blob | history | |
src/plugin.c | patch | blob | history | |
src/unixsock.c | patch | blob | history |
diff --git a/src/mbmon.c b/src/mbmon.c
index bad1a3884d86596b2f5600241ae83c5ee543b69c..50d7363268840771f6d7ff30d85ae58e252bc7ec 100644 (file)
--- a/src/mbmon.c
+++ b/src/mbmon.c
{
size_t l;
- for (l = strlen (s) - 1; (l > 0) && isspace (s[l]); l--)
+ for (l = strlen (s) - 1; (l > 0) && isspace ((int) s[l]); l--)
s[l] = '\0';
}
diff --git a/src/plugin.c b/src/plugin.c
index 1dd6daf33a9963ef18a897fc5e4221308c3ba80e..0570f0ee0dc37269ce66fb724fe7f6abd64ac7dc 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
pthread_mutex_unlock (&read_lock);
pthread_exit (NULL);
+ return ((void *) 0);
} /* void *plugin_read_thread */
static void start_threads (int num)
diff --git a/src/unixsock.c b/src/unixsock.c
index 63c3ae958d2e5aece8e857f738ad474196961b00..837a902135b12e7429a767377263afb77405a04a 100644 (file)
--- a/src/unixsock.c
+++ b/src/unixsock.c
close (fd);
pthread_exit ((void *) 0);
+ return ((void *) 0);
} /* void *us_handle_client */
static void *us_server_thread (void *arg)