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:
committed by
Gerald (Jerry) Carter
parent
3d6739eaa6
commit
6f69eeb8f2
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user