Commit: 0b2354016f12d25bc40aa2d3429ddac9dea92f22
Parent: 96ca20c858b4fc5ceaa8289104850708266299bb
Author: Rafal Michalski <michalski.raf@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:45
Tree: 9182a80b4c1f144ab6b6601f5b98437c4c79c903

obexd: Remove magic number indicating size of buffer This patch removes "magic number" indicating buffer's size in "vcard_printf_number" function and replace it by value defined under LEN_MAX. Now it would be consistent with the rest of code, since all functions from vcard_prinf_* family use LEN_MAX to indicate size of buffer which may store some vCard's field content.

Diffstat

M obexd/plugins/vcard.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch