important quick bug fix for ovdb.c

Heath Kehoe heath.kehoe at intermec.com
Wed Apr 12 20:45:41 UTC 2000


Please get this committed ASAP.  Thanks.

-heath


*** ovdb.c.dist	Wed Apr 12 05:01:54 2000
--- ovdb.c	Wed Apr 12 15:40:52 2000
***************
*** 1007,1013 ****
  	key.data = group;
  	key.size = strlen(group);
  	val.data = flag + 1;
! 	val.size = strlen(flag + 1);
  
  	switch(ret = groupaliases->put(groupaliases, tid, &key, &val, 0)) {
  	case 0:
--- 1007,1013 ----
  	key.data = group;
  	key.size = strlen(group);
  	val.data = flag + 1;
! 	val.size = strcspn(flag, "\n") - 1;
  
  	switch(ret = groupaliases->put(groupaliases, tid, &key, &val, 0)) {
  	case 0:




More information about the inn-patches mailing list