Commit 51db339b0a57a16597a9eece0534804fa7791e27
1 parent
90c3cc6b
Exists in
master
and in
1 other branch
Fixing bug detected by OBS.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
client/src/core/session.cc
| @@ -379,7 +379,7 @@ | @@ -379,7 +379,7 @@ | ||
| 379 | if(len < 0) | 379 | if(len < 0) |
| 380 | len = strlen(s); | 380 | len = strlen(s); |
| 381 | 381 | ||
| 382 | - toString(baddr,len,0).compare(0,len,s); | 382 | + return toString(baddr,len,0).compare(0,len,s); |
| 383 | } | 383 | } |
| 384 | 384 | ||
| 385 | int Session::compare(int row, int col, const char* s, int len) const { | 385 | int Session::compare(int row, int col, const char* s, int len) const { |