Date: Tue, 20 Aug 2013 08:21:42 GMT From: dpl@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r256189 - soc2013/dpl/head/lib/libzcap Message-ID: <201308200821.r7K8Lg59097655@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dpl Date: Tue Aug 20 08:21:42 2013 New Revision: 256189 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=256189 Log: Modified to use global buffer. Debug fprintf deleted. Modified: soc2013/dpl/head/lib/libzcap/commands.c Modified: soc2013/dpl/head/lib/libzcap/commands.c ============================================================================== --- soc2013/dpl/head/lib/libzcap/commands.c Tue Aug 20 07:48:20 2013 (r256188) +++ soc2013/dpl/head/lib/libzcap/commands.c Tue Aug 20 08:21:42 2013 (r256189) @@ -82,7 +82,7 @@ extern pid_t pid; extern nvlist_t *sendCommand(nvlist_t *); -extern void * data; +extern void *data; nvlist_t *nvl, *args, *result; size_t gzfilesize = sizeof(struct gzFile_s); @@ -869,9 +869,9 @@ return(0); } nvlist_add_number(nvl, "command", ZCAPCMD_ZLIBCOMPILEFLAGS); + nvlist_add_nvlist(nvl, "args", args); result = sendCommand(nvl); - printf("after sendCommand()\n"); ret = nvlist_take_number(result, "result"); destroy();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308200821.r7K8Lg59097655>