Fix wrong variable comparision in functions

A whitespace is missing.
Closes-Bug: #1247273

Change-Id: I4bbed6077813c5d7522650baf2e78d9c44c1bba4
Merge "Fix wrong variable comparision in functions"