1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/news/golded+/files/patch-goldnode-goldnode.cpp
2007-02-23 05:52:26 +00:00

21 lines
541 B
C++

--- goldnode/goldnode.cpp.orig Fri Feb 23 05:44:33 2007
+++ goldnode/goldnode.cpp Fri Feb 23 05:45:36 2007
@@ -259,7 +259,7 @@
point = strchr(str, '.');
domain = strchr(str, '@');
if(domain and point)
- if((uint32_t)point > (uint32_t)domain)
+ if(point > domain)
point = NULL;
if(space)
@@ -304,7 +304,7 @@
char* point = strchr(str, '.');
domain = strchr(str, '@');
if(domain and point)
- if((uint32_t)point > (uint32_t)domain)
+ if(point > domain)
point = NULL;
if(net) {