Skip to content
This repository has been archived by the owner on May 25, 2018. It is now read-only.

Commit

Permalink
No prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Bussdieker committed Aug 1, 2012
1 parent 5cc55da commit 58002f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion udp.go
Expand Up @@ -33,7 +33,7 @@ type UdpProcessor struct {

func (np *UdpProcessor) Process(entry *LogEntry) {
if entry.Priority <= np.GetPriority() {
msg := entry.Prefix + entry.Msg
msg := entry.Msg
np.Dispatcher.Send(msg)
}
}
Expand Down
2 changes: 1 addition & 1 deletion udp_test.go
Expand Up @@ -8,7 +8,7 @@ import "strings"
import "sort"

func checkUdpOutput(result string, p Priority, prefix, msg string, t *testing.T) {
expected := prefix + msg
expected := msg
if result != expected {
errmsg := "Failed log consistency check:\nExpected '%s'\nResult '%s'"
t.Errorf(errmsg, expected, result)
Expand Down

0 comments on commit 58002f5

Please sign in to comment.