Browse Source

fix double str_shift for 'list sessions CALLID'

fixes #448

Change-Id: I9262f61eeec257abe842e532ffc8e071da89a61d
changes/88/18488/2
Richard Fuchs 8 years ago
parent
commit
321fb5e1ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/cli.c

+ 1
- 1
daemon/cli.c View File

@ -311,7 +311,7 @@ static void cli_incoming_list_callid(str *instr, struct streambuf *replybuffer)
struct timeval now;
char * local_addr;
if (str_shift(instr, 1)) {
if (instr->len == 0) {
streambuf_printf(replybuffer, "%s\n", "More parameters required.");
return;
}


Loading…
Cancel
Save