diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-09-13 01:16:22 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-09-13 01:16:22 +0000 |
| commit | ee551f4827cf861c84916726ceea0e3bb8afc46c (patch) | |
| tree | aaeefd37e790ca8b776ae5018237deda891b39d4 /lib/command_parse.y | |
| parent | 97c45dae54bc4d4fc3a24155ef7703beac4ae7aa (diff) | |
lib: Fix various matching bugs
Missed a copy, disambigs forgot to walkback
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_parse.y')
| -rw-r--r-- | lib/command_parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y index a5d391d19e..bd958c5ace 100644 --- a/lib/command_parse.y +++ b/lib/command_parse.y @@ -446,7 +446,7 @@ doc_next() { char *piece = NULL; if (!docstr || !(piece = strsep (&docstr, "\n"))) - return NULL; + return XSTRDUP (MTYPE_CMD_TOKENS, ""); return XSTRDUP (MTYPE_CMD_TOKENS, piece); } |
