diff options
author | Andrew Gallant <jamslam@gmail.com> | 2013-12-28 09:23:15 -0500 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-09-08 16:49:19 +0200 |
commit | efe87cb9081ff3806182cf911f4fd8fbc4928244 (patch) | |
tree | bfac0a16a8006a4d59925e227e0747bf9e1160f8 /nexgb/xgbgen | |
parent | 3b4adabee14855e6ce5345567ceeb566917625be (diff) | |
download | haven-efe87cb9081ff3806182cf911f4fd8fbc4928244.tar.gz haven-efe87cb9081ff3806182cf911f4fd8fbc4928244.tar.xz haven-efe87cb9081ff3806182cf911f4fd8fbc4928244.zip |
Ignore the "fd" field for the time being (for the shm extension only).
Diffstat (limited to 'nexgb/xgbgen')
-rw-r--r-- | nexgb/xgbgen/translation.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nexgb/xgbgen/translation.go b/nexgb/xgbgen/translation.go index 778304f..b7e67e2 100644 --- a/nexgb/xgbgen/translation.go +++ b/nexgb/xgbgen/translation.go @@ -207,7 +207,7 @@ func (x *XMLRequest) Translate() *Request { Reply: x.Reply.Translate(), } for _, field := range x.Fields { - if field.XMLName.Local == "doc" { + if field.XMLName.Local == "doc" || field.XMLName.Local == "fd" { continue } r.Fields = append(r.Fields, field.Translate(r)) @@ -238,7 +238,7 @@ func (x *XMLReply) Translate() *Reply { Fields: make([]Field, 0, len(x.Fields)), } for _, field := range x.Fields { - if field.XMLName.Local == "doc" { + if field.XMLName.Local == "doc" || field.XMLName.Local == "fd" { continue } r.Fields = append(r.Fields, field.Translate(r)) |