Hi
An unecessary assert has been introduced that crashes gtk-gnutella about
ever 30 mins (at least for me). Since the hex2dec routine is used on
URLs from the "outside" this assert is simply wrong. Patch below.
/Tomas
Index: misc.c
===================================================================
RCS file: /cvsroot/gtk-gnutella/gtk-gnutella-current/src/misc.c,v
retrieving revision 1.112
diff -u -r1.112 misc.c
--- misc.c 28 May 2004 08:57:49 -0000 1.112
+++ misc.c 29 May 2004 11:12:22 -0000
@@ -603,7 +603,7 @@
return c >= '0' && c <= '9' ? c - '0'
: c >= 'a' && c <= 'f' ? c - 'a' + 10
: c >= 'A' && c <= 'F' ? c - 'A' + 10
- : g_assert_not_reached(), -1;
+ : -1;
}
/*
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel