summaryrefslogtreecommitdiff
path: root/src/rhimportd/ctrlWebSocket.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-07-23 23:45:34 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-07-23 23:45:34 (GMT)
commit38cde493d2a9a1961e057fe0e175b437b3916148 (patch)
tree8c7451fb2a8466d0e25c95dd45f1a9dbf846b7dc /src/rhimportd/ctrlWebSocket.go
parentb29107e4dd06e176f88fdaa7f01bb6b1b34a8613 (diff)
refactored logging
Diffstat (limited to 'src/rhimportd/ctrlWebSocket.go')
-rw-r--r--src/rhimportd/ctrlWebSocket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhimportd/ctrlWebSocket.go b/src/rhimportd/ctrlWebSocket.go
index 1ce0f80..48c08fe 100644
--- a/src/rhimportd/ctrlWebSocket.go
+++ b/src/rhimportd/ctrlWebSocket.go
@@ -226,7 +226,7 @@ func webSocketDone(res rhimport.Result, userdata interface{}) bool {
}
func (self *webSocketSession) startNewSession(reqdata *webSocketRequestData, conf *rhimport.Config, sessions *rhimport.SessionStoreChan) (int, string) {
- ctx := rhimport.NewContext(conf, nil)
+ ctx := rhimport.NewContext(conf, nil, rhl, rhdl)
ctx.UserName = reqdata.UserName
ctx.Password = reqdata.Password
ctx.Trusted = false