diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:49:34 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-04 19:49:34 +0200 |
| commit | 8a2754e0fbdea7497281327f2896be2a1253a107 (patch) | |
| tree | bc7c400745fde54e6fb7a010fcb026258564d3bc /package/tmsnc/patches/patch-src_misc_c | |
| parent | 9bd4456c5a83c3474fdf9fe5cf14004a0874e2c8 (diff) | |
| parent | 2d3aaf1664850031f5497e121dc82ab65f63641a (diff) | |
Merge branch 'master' of ssh://openadk.org/git/openadk
Diffstat (limited to 'package/tmsnc/patches/patch-src_misc_c')
| -rw-r--r-- | package/tmsnc/patches/patch-src_misc_c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/tmsnc/patches/patch-src_misc_c b/package/tmsnc/patches/patch-src_misc_c new file mode 100644 index 000000000..c3789a5a9 --- /dev/null +++ b/package/tmsnc/patches/patch-src_misc_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- tmsnc-0.3.2.orig/src/misc.c 2006-10-17 13:09:56.000000000 +0200 ++++ tmsnc-0.3.2/src/misc.c 2009-06-02 01:16:30.000000000 +0200 +@@ -126,7 +126,7 @@ UI_check_for_updates(void) + "Host: tmsnc.sourceforge.net\r\n\r\n", 59, 0) < 0) + UI_err_exit("Couldn't send HTTP request"); + +- while (getline(buf, sizeof(buf) - 1, sd) > 0) { ++ while (getline2(buf, sizeof(buf) - 1, sd) > 0) { + buf[strlen(buf) - 1] = 0x0; + if (strncmp(buf, "Version", 7) == 0) { + if (strcmp(&buf[9], VERSION) == 0) { |
