[Redbutton-devel] SF.net SVN: redbutton: [479] redbutton-author/trunk/der_encode.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2008-01-25 15:32:14
|
Revision: 479
http://redbutton.svn.sourceforge.net/redbutton/?rev=479&view=rev
Author: skilvington
Date: 2008-01-25 07:32:11 -0800 (Fri, 25 Jan 2008)
Log Message:
-----------
encode true booleans as 255 rather than 1 (same as BBC) - should probably be a cmd line option
Modified Paths:
--------------
redbutton-author/trunk/der_encode.c
Modified: redbutton-author/trunk/der_encode.c
===================================================================
--- redbutton-author/trunk/der_encode.c 2008-01-25 15:29:40 UTC (rev 478)
+++ redbutton-author/trunk/der_encode.c 2008-01-25 15:32:11 UTC (rev 479)
@@ -36,7 +36,7 @@
*len = 1;
*out = safe_malloc(1);
- (*out)[0] = val ? 1 : 0;
+ (*out)[0] = val ? 0xff : 0;
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|