[Nagios-checkins] SF.net SVN: nagios:[2059] nagioscore/trunk/lib/wproc.c

ageric at users.sourceforge.net ageric at users.sourceforge.net
Mon Aug 13 15:16:43 UTC 2012


Revision: 2059
          http://nagios.svn.sourceforge.net/nagios/?rev=2059&view=rev
Author:   ageric
Date:     2012-08-13 15:16:42 +0000 (Mon, 13 Aug 2012)
Log Message:
-----------
lib/wproc: Make it compile and work again

It hasn't since we added the flags argument to the buf2kvvec()
function.

Signed-off-by: Andreas Ericsson <ae at op5.se>

Modified Paths:
--------------
    nagioscore/trunk/lib/wproc.c

Modified: nagioscore/trunk/lib/wproc.c
===================================================================
--- nagioscore/trunk/lib/wproc.c	2012-08-08 12:20:54 UTC (rev 2058)
+++ nagioscore/trunk/lib/wproc.c	2012-08-13 15:16:42 UTC (rev 2059)
@@ -89,7 +89,7 @@
 	while ((buf = iocache_use_delim(wp->ioc, MSG_DELIM, MSG_DELIM_LEN_RECV, &size))) {
 		int i;
 		tot_bytes += size + MSG_DELIM_LEN_RECV;
-		kvv = buf2kvvec(buf, (unsigned int)size, KV_SEP, PAIR_SEP);
+		kvv = buf2kvvec(buf, (unsigned int)size, KV_SEP, PAIR_SEP, KVVEC_COPY);
 		if (!kvv) {
 			printf("main: Failed to parse buffer of size %d to key/value vector\n", size);
 			continue;

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Nagios-commits mailing list