Skip to content

Commit

Permalink
bumped
Browse files Browse the repository at this point in the history
  • Loading branch information
utamaro committed Dec 4, 2015
1 parent 6e0df2f commit d6efdaa
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go:
env:
global:
- secure: "VcYaGIZXbzyc1mwYk0PHiFrg84xP6ItXpuA129iGaqKotYFdNuCeeS05apLEqBv/MNohgDybvvzqNrvUCjL4DL66fSQjxkVDq2WyT504i6ITZQ9S5KOU1aXLCAkhc4MYYHew7jJlo8wHFh70c3fErXUq/QrrG0mrCY7a9q7BvwR6W71nHjzN/pzojZd4HjYv1wDg6uvFVzpK/NQBHhYO+RGRERV9xlWqyIRhTMV8zU25jxH8OTg/aYnkUsNL7jINE27Y73DAowmuUrQ0jRhCmwq2N1CzBYAc8gjcoEKMceYYGO5mW1UCovfR1GjnK21pJM+FdfUjJ6CUgQrbAJgdCWdPnc+Lm/cZ6ICCuevJGdfBUvaDHcN7EIy7sLYwY00GCdhZP401n1wBDLizLxgINlk9E/hQ/dYhGLlOwdg0GNhaz/b3FpaeS9an9iSbO050xqtEJNZpiSoaKY7xkDD06P9q6j0fVau6YpGJnpFN+FTqd4F57XKccHEj02mSqHqiCgl+tivVpyJuzEes/rfUePCxqRzuuptq1Ak32U7rn7PwD4uhdYyLOPNy3+S/GOYSHl8n53ZKMtn0hFaNNlahjxzEwnqdq7OzDmTcs6I5+eHpCFs2rSGRpusLge1afKiNGCLh8AsuaB2nSJWP0O+ezzEg+c/v1SMm0p/8lwLUtXQ="
- PACKAGE_VERSION: unstable
- PACKAGE_VERSION: 0.0.12

gobuild_args: -ldflags "-X main.version ${PACKAGE_VERSION}"

Expand Down
1 change: 0 additions & 1 deletion cgi/server_cgi.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ func doGetHead(w http.ResponseWriter, r *http.Request) {
recs = ca.LoadRecords()
}
for _, r := range recs {
log.Println(r.ID, r.Stamp, begin, end, id)
if r.InRange(begin, end, id) {
if method == "get" {
if err := r.Load(); err != nil {
Expand Down
1 change: 0 additions & 1 deletion file/follow_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
# recD and recE are removed in serverC
# then
# recA and recD and recE will be removed.
192.168.1.23:8000/server.cgi
4 changes: 1 addition & 3 deletions file/saku.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
# $Id$
#
[Network]
port: 8010
port: 8000

[Gateway]
visitor: ^(127|\[::1\]|192)
admin: ^(127|\[::1\]|192)
enable_2ch:true
7 changes: 4 additions & 3 deletions thread/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ func (r *Record) CopyRecordHead() RecordHead {
r.mutex.RLock()
defer r.mutex.RUnlock()
return RecordHead{
Datfile: r.Datfile,
Stamp: r.Stamp,
ID: r.ID,
RecordHeadConfig: RecordHeadCfg,
Datfile: r.Datfile,
Stamp: r.Stamp,
ID: r.ID,
}
}

Expand Down
5 changes: 3 additions & 2 deletions thread/record_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,9 @@ func parseHeadResponse(res []string, datfile string) map[string]*RecordHead {
return nil
}
u := &RecordHead{
ID: strs[1],
Datfile: datfile,
ID: strs[1],
Datfile: datfile,
RecordHeadConfig: RecordHeadCfg,
}
var err error
u.Stamp, err = strconv.ParseInt(strs[0], 10, 64)
Expand Down

0 comments on commit d6efdaa

Please sign in to comment.