git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
248e900
)
add win_errstr() as wrapper of dos_errstr().
author
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Nov 2007 13:33:04 +0000
(14:33 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Nov 2007 13:33:04 +0000
(14:33 +0100)
this makes merging stuff from samba4 easier
metze
(This used to be commit
cfbdb133b998a704c6c167b9b4b56370f4ff666d
)
source3/libsmb/doserr.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/doserr.c
b/source3/libsmb/doserr.c
index 52afb0d0229666ffd81693bfd07e67ed20f69392..b8cb8b4bc6ca29f7a6e35c88917dacc8e794311c 100644
(file)
--- a/
source3/libsmb/doserr.c
+++ b/
source3/libsmb/doserr.c
@@
-108,3
+108,9
@@
const char *dos_errstr(WERROR werror)
return msg;
}
+
+/* compat function for samba4 */
+const char *win_errstr(WERROR werror)
+{
+ return dos_errstr(werror);
+}