Skip to content

Commit

Permalink
Merge branch 'master' of http://github.com/makimoto/Gyazo
Browse files Browse the repository at this point in the history
  • Loading branch information
Isshu Rakusai committed Sep 24, 2010
2 parents c5aa5c9 + 33b975c commit 30d2f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/upload.cgi
Expand Up @@ -12,7 +12,7 @@ cgi = CGI.new("html3")

id = cgi.params['id'][0].read
imagedata = cgi.params['imagedata'][0].read
hash = Digest::MD5.new(imagedata).to_s
hash = Digest::MD5.hexdigest(imagedata)

dbm = SDBM.open('db/id',0644)
dbm[hash] = id
Expand Down

0 comments on commit 30d2f58

Please sign in to comment.