summaryrefslogtreecommitdiff
path: root/net-im/sim-im
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-09-01 21:26:02 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-09-01 21:26:02 +0000
commit2df0f8fe513d3930f2f25ee3c0e0d3cb5a0e55da (patch)
tree3bb16b0cbe81b6fd09f7d955b2f318f47d1b0a16 /net-im/sim-im
parentRemove OpenSSL support in this port so that it does not depend on any other (diff)
Fix off-by-one error in calculating birthdate day.
Similar fix is already in sim CVS tree. Submitted by: fjoe, who got a lot of congrats one day earlier :) Approved by: MAINTAINER
Notes
Notes: svn path=/head/; revision=88308
Diffstat (limited to 'net-im/sim-im')
-rw-r--r--net-im/sim-im/files/patch-sim::libicq::icqclient.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/sim-im/files/patch-sim::libicq::icqclient.cpp b/net-im/sim-im/files/patch-sim::libicq::icqclient.cpp
new file mode 100644
index 000000000000..42137ffdff59
--- /dev/null
+++ b/net-im/sim-im/files/patch-sim::libicq::icqclient.cpp
@@ -0,0 +1,11 @@
+--- sim/libicq/icqclient.cpp.orig Tue Sep 2 01:47:04 2003
++++ sim/libicq/icqclient.cpp Tue Sep 2 01:47:21 2003
+@@ -128,7 +128,7 @@
+ time_t now;
+ time(&now);
+ struct tm *tm = localtime(&now);
+- if (((tm->tm_mon + 1) == month) && ((tm->tm_mday + 1) == day))
++ if (((tm->tm_mon + 1) == month) && (tm->tm_mday == day))
+ m_bBirthday = true;
+ }
+ if ((m_bBirthday != oldValue) && (m_state == Logged))