[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] Missing arg for PackBlock in nk6510.c
From: |
Reiner Steib |
Subject: |
[Patch] Missing arg for PackBlock in nk6510.c |
Date: |
Fri, 30 Jan 2004 16:34:59 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
Hi,
in the current CVS version, common/phones/nk6510.c didn't compile.
The attached patch fixes this. I'm not sure if it's the correct way
to fix the problem, so please check.
Bye, Reiner.
--- nk6510.c 29 Jan 2004 22:55:50 -0000 1.139
+++ nk6510.c 30 Jan 2004 15:28:12 -0000
@@ -1759,7 +1759,7 @@
char_unicode_encode((string + 5), entry->number, j);
string[j * 2 + 1] = 0;
string[4] = j * 2;
- count += PackBlock(0x0b, j * 2 + 6, block++, string,
req + count);
+ count += PackBlock(0x0b, j * 2 + 6, block++, string,
req + count, GN_PHONEBOOK_ENTRY_MAX_LENGTH - count);
} else {
/* Default Number */
defaultn = 999;
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
- [Patch] Missing arg for PackBlock in nk6510.c,
Reiner Steib <=