Commits

izdubar committed 38651ab

fix for config reading, "val" were truncated at 32 char (copy/paste typo)

  • Participants
  • Parent commits 7d7b2f9

Comments (0)

Files changed (1)

 		
 		eqpos++;
 		
-		size_t vallen = min(keymax, strlen(line) - (eqpos - line));
+		size_t vallen = min(valmax, strlen(line) - (eqpos - line));
 		strncpy(val, eqpos, vallen);
 	}