~cyphermox/+junk/bluez-debug

« back to all changes in this revision

Viewing changes to src/storage.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-08-01 16:07:29 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20110801160729-s7bv7bh6u4o5vhlc
Tags: 4.96-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
594
594
        return 0;
595
595
}
596
596
 
597
 
int read_pin_code(bdaddr_t *local, bdaddr_t *peer, char *pin)
 
597
ssize_t read_pin_code(bdaddr_t *local, bdaddr_t *peer, char *pin)
598
598
{
599
599
        char filename[PATH_MAX + 1], addr[18], *str;
600
 
        int len;
 
600
        ssize_t len;
601
601
 
602
602
        create_filename(filename, PATH_MAX, local, "pincodes");
603
603