summaryrefslogtreecommitdiff
path: root/rfc.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-07-21 17:04:16 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-07-21 17:04:16 +0200
commit9bcc1e9da9eb18748e041bbdf395bfe4bced0962 (patch)
tree7a0d6483e8d81a943b240392c55090e48661bdf5 /rfc.go
parent878316d21afdc89bcc0969c0a614242249abe5fe (diff)
Fix bug
Diffstat (limited to 'rfc.go')
-rw-r--r--rfc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfc.go b/rfc.go
index 61ea9b0..bba5aa8 100644
--- a/rfc.go
+++ b/rfc.go
@@ -99,6 +99,6 @@ func (e Entry) String() string {
}
func (e Entry) ID() (id int) {
- fmt.Sprintf(e.DocID, "RFC%d", &id)
+ fmt.Sscanf(e.DocID, "RFC%d", &id)
return
}