summaryrefslogtreecommitdiff
path: root/source3/lib/util_tsock.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-06-17 14:39:37 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-17 17:08:59 +1000
commitb341979adb950ae6abd518df3a170db9e9708797 (patch)
tree9c3123e53c08539677b6fc85d90e86e1db07e365 /source3/lib/util_tsock.c
parent1233ba7bf3d2dfd9a84eb52d601e589411c55185 (diff)
downloadsamba-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 'source3/lib/util_tsock.c')
0 files changed, 0 insertions, 0 deletions