summaryrefslogtreecommitdiff
path: root/protoParse.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-09 15:51:45 -0600
committerJeff Carr <[email protected]>2025-01-09 15:51:45 -0600
commit65aa8e85b1b751a224d7486a721188582c34bb76 (patch)
tree7d82c4e31d2cfe426a5c3541601a4e15e3a5083a /protoParse.go
parent455377e30abc161bbee3ee75ac81754a73405617 (diff)
builds and runs again
Diffstat (limited to 'protoParse.go')
-rw-r--r--protoParse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/protoParse.go b/protoParse.go
index 9aef560..024125d 100644
--- a/protoParse.go
+++ b/protoParse.go
@@ -122,7 +122,7 @@ func (f *File) parseForMessage(line string) *MsgName {
log.Info("found messge:", msgName)
msg := new(MsgName)
msg.Name = msgName
- msg.Lockname = msgName + "Mu"
+ msg.Lockname = f.Filebase + "Mu" // this should be lowercase. do not export the Mutex
if strings.Contains(line, "`autogenpb:mutex`") {
msg.DoMutex = true