Scott pointed out that this code should probably use 'sizeof ("keys:") - 1' rather than 'strlen (keys)'.
Scott pointed out that this code should probably use 'sizeof ("keys:") - 1' rather than 'strlen (keys)'.