svn commit: r224486 - projects/hid/usr.bin/usbhidaction

Alexander Motin mav at FreeBSD.org
Thu Jul 28 20:30:56 UTC 2011


Author: mav
Date: Thu Jul 28 20:30:55 2011
New Revision: 224486
URL: http://svn.freebsd.org/changeset/base/224486

Log:
  This change wasn't needed. Revert.

Modified:
  projects/hid/usr.bin/usbhidaction/usbhidaction.c

Modified: projects/hid/usr.bin/usbhidaction/usbhidaction.c
==============================================================================
--- projects/hid/usr.bin/usbhidaction/usbhidaction.c	Thu Jul 28 19:24:33 2011	(r224485)
+++ projects/hid/usr.bin/usbhidaction/usbhidaction.c	Thu Jul 28 20:30:55 2011	(r224486)
@@ -430,6 +430,7 @@ parse_conf(const char *conf, report_desc
 		}
 
 	foundhid:
+		hid_end_parse(d);
 		cmd->lastseen = -1;
 		cmd->lastused = -1;
 		cmd->item = h;
@@ -441,7 +442,6 @@ parse_conf(const char *conf, report_desc
 			else
 				cmd->value = -1;
 		}
-		hid_end_parse(d);
 
 		if (verbose)
 			printf("PARSE:%d %s, %d, '%s'\n", cmd->line, name,


More information about the svn-src-projects mailing list