diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-06-17 14:39:37 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-17 17:08:59 +1000 |
commit | b341979adb950ae6abd518df3a170db9e9708797 (patch) | |
tree | 9c3123e53c08539677b6fc85d90e86e1db07e365 /source4/libcli/cliconnect.c | |
parent | 1233ba7bf3d2dfd9a84eb52d601e589411c55185 (diff) | |
download | samba-b341979adb950ae6abd518df3a170db9e9708797.tar.gz samba-b341979adb950ae6abd518df3a170db9e9708797.tar.bz2 samba-b341979adb950ae6abd518df3a170db9e9708797.zip |
util: moved nt_errstr() into common code
this brings nt_errstr() into common code, using the new
talloc_stackframe_exists() to ensure that we only allocate an error
string using talloc_tos() if a talloc stackframe does currently
exists. This makes it safe to use in external libraries
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libcli/cliconnect.c')
0 files changed, 0 insertions, 0 deletions