Fix default value of sendMsg.

This commit is contained in:
Jonathan Bernard
2017-08-15 14:33:14 -05:00
parent be91137318
commit 96b6832834
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ type HandleProcMsgCB* = proc (outMsg: TaintedString,
errMsg: TaintedString, cmd: string): void
proc sendMsg*(h: HandleProcMsgCB, outMsg: TaintedString,
errMsg: TaintedString = nil, cmd: string): void =
errMsg: TaintedString = nil, cmd: string = ""): void =
if h != nil: h(outMsg, errMsg, cmd)
proc waitForWithOutput*(p: Process, msgCB: HandleProcMsgCB,