seporaitis / lhl

Linux Ham Log - an attempt to write modern terminal linux ham radio logging application from scratch
0 stars 0 forks source link

Fix memset of qsolist buffer #27

Closed seporaitis closed 5 years ago

seporaitis commented 5 years ago

Description

Accidentally missed the sizeof(char) in memset call. This is potentially harmless, but still - inconsistent.

Motivation and Context

Maybe in some universe where char is not a single byte (AFAIK none such exists) - it could lead in not clearing up of the whole buffer.

How Has This Been Tested?

Ran src/lhl and interacted with UI.

Screenshots (if appropriate):

Types of changes

Checklist