Browse Source

Fix #1123

pull/1120/merge
Max Lv 8 years ago
parent
commit
2d3a1b2a3e
1 changed files with 1 additions and 1 deletions
  1. 2
      src/manager.c

2
src/manager.c

@ -223,7 +223,7 @@ get_action(char *buf, int len)
char *action;
int pos = 0;
while (isspace((unsigned char)buf[pos]) && pos < len)
while (pos < len && isspace((unsigned char)buf[pos]))
pos++;
if (pos == len) {
return NULL;

Loading…
Cancel
Save