Switch to unified view

a/src/query/docseqhist.cpp b/src/query/docseqhist.cpp
...
...
33
// Encode document history entry: 
33
// Encode document history entry: 
34
// U + Unix time + base64 of udi
34
// U + Unix time + base64 of udi
35
// The U distinguishes udi-based entries from older fn+ipath ones
35
// The U distinguishes udi-based entries from older fn+ipath ones
36
bool RclDHistoryEntry::encode(string& value)
36
bool RclDHistoryEntry::encode(string& value)
37
{
37
{
38
    char chartime[20];
38
    char chartime[30];
39
    sprintf(chartime, "%ld", unixtime);
39
    sprintf(chartime,"%ld", unixtime);
40
    string budi;
40
    string budi;
41
    base64_encode(udi, budi);
41
    base64_encode(udi, budi);
42
    value = string("U ") + string(chartime) + " " + budi;
42
    value = string("U ") + string(chartime) + " " + budi;
43
    return true;
43
    return true;
44
}
44
}