[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS Update: gleipnir



Log Message:
-----------
Human-readable hashes

Modified Files:
--------------
    gleipnir/public_html/gallery:
        upload.pl

Revision Data
-------------
Index: upload.pl
===================================================================
RCS file: /cvs/gleipnir/public_html/gallery/upload.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lpublic_html/gallery/upload.pl -Lpublic_html/gallery/upload.pl -u -r1.5 -r1.6
--- public_html/gallery/upload.pl
+++ public_html/gallery/upload.pl
@@ -131,7 +131,7 @@
 	my $image_png = $image->png();
 
 	# Grab a SHA1 hash for later
-	my $hash = sha1( $image_png );
+	my $hash = sha1_hex( $image_png );
 	
 	# Convert the image to a png and write it out to a file 
 	open( MYIMAGE, ">$storagedir/$id.png" ) or $fail = 1;


Main Menu:

Site Tools:


Here, spammer, have some addresses.