aboutsummaryrefslogtreecommitdiff
path: root/include/sway/server.h
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-09-22 10:57:22 +0100
committerIan Fan <ianfan0@gmail.com>2018-09-22 11:02:47 +0100
commita4d346627cc661f32bc7fb65a43ff19d48b50a96 (patch)
tree9fe3ee50c17a53266183e1e4643bb149c6af6c86 /include/sway/server.h
parentb148da848ae9075822cd8ddd743532f3ce78f923 (diff)
swaybar: explicitly check return value of getdelim
This prevents an signed-to-unsigned conversion error on buffer_index if getdelim fails and returns -1, which caused swaybar to try to search the header for the array and immediately failing
Diffstat (limited to 'include/sway/server.h')
0 files changed, 0 insertions, 0 deletions