Commit 25b18337 authored by Pavel Janík's avatar Pavel Janík
Browse files

(main): Parenthesize assignment when used as truth value to prevent gcc

warnings.
parent 0b1ce6ba
......@@ -168,7 +168,7 @@ main (argc, argv)
p = strtok (data.buffer, " ,\r\n\t");
labels = "X-Babyl-Labels: ";
while (p = strtok (NULL, " ,\r\n\t"))
while ((p = strtok (NULL, " ,\r\n\t")))
labels = concat (labels, p, ", ");
p = &labels[strlen (labels) - 2];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment