~ubuntu-branches/ubuntu/trusty/389-ds-base/trusty

« back to all changes in this revision

Viewing changes to lib/base/file.cpp

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2013-08-30 00:31:55 UTC
  • mfrom: (1.2.1)
  • Revision ID: package-import@ubuntu.com-20130830003155-oimuzdqopkvp2cd0
Tags: 1.3.1.7-0ubuntu1
Sync from unreleased debian git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
613
613
    return msglen;
614
614
}
615
615
 
616
 
NSAPI_PUBLIC char *
 
616
NSAPI_PUBLIC const char *
617
617
system_errmsg(void)
618
618
{
619
619
    char *buff = 0;
632
632
    }
633
633
    system_errmsg_fn(&buff, errbuf_size);
634
634
    if (buff == 0)
635
 
        buff = "Could not retrieve system error message";
 
635
        return "Could not retrieve system error message";
636
636
    return buff;
637
637
}
638
638