OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libetpan/0002-fix-date_time_new.patch
  5. # Copyright (C) 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. From 5ba50e1a12d0ac27d2158d0c9546f4adde888568 Mon Sep 17 00:00:00 2001
  17. From: Nadeem Shehzad <Nadeem.Shehzad@securepoint.de>
  18. Date: Tue, 25 Jan 2011 12:09:38 +0100
  19. Subject: [PATCH 2/3] fix: date_time_new by correcting seconds assingment to dt_sec rather than dt_day.
  20. ---
  21. src/low-level/imap/mailimap_types.c | 2 +-
  22. 1 files changed, 1 insertions(+), 1 deletions(-)
  23. diff --git a/src/low-level/imap/mailimap_types.c b/src/low-level/imap/mailimap_types.c
  24. index aee05de..322846b 100644
  25. --- a/src/low-level/imap/mailimap_types.c
  26. +++ b/src/low-level/imap/mailimap_types.c
  27. @@ -836,7 +836,7 @@ mailimap_date_time_new(int dt_day, int dt_month, int dt_year, int dt_hour,
  28. date_time->dt_year = dt_year;
  29. date_time->dt_hour = dt_hour;
  30. date_time->dt_min = dt_min;
  31. - date_time->dt_day = dt_sec;
  32. + date_time->dt_sec = dt_sec;
  33. date_time->dt_zone = dt_zone;
  34. return date_time;
  35. --
  36. 1.6.3.3