1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00

r9465: handle encoding and decoding of pointers, representing them as a

string containing "(POINTER)"
This commit is contained in:
Andrew Tridgell
2005-08-22 01:52:22 +00:00
committed by Gerald (Jerry) Carter
parent 3d6739eaa6
commit 6f69eeb8f2
2 changed files with 3 additions and 1 deletions

View File

@@ -52,6 +52,8 @@ function encodeElement(e, name) {
r = s.sprintf("%s:%s:%s:", name, t, "" + e);
} else if (t == "undefined" || t == "null") {
r = s.sprintf("%s:%s:", name, t);
} else if (t == "pointer") {
r = s.sprintf("%s:string:(POINTER):", name);
} else {
println("Unable to linearise type " + t);
r = "";