pike.git / lib / modules / Protocols.pmod / IMAP.pmod / types.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/IMAP.pmod/types.pmod:85:   }      class imap_string   {    string data;       void create(string s) { data = s; }       string format()    { -  if (!sizeof(array_sscanf(data, "%*[^\0-\037\177-\377]%s")[0])) +  // Pine doesn't know about \-quoting... +  if (!sizeof(array_sscanf(data, "%*[^\0-\037\\\"\177-\377]%s")[0]))    return "\"" + replace(data, ({ "\"", "\\" }), ({ "\\\"", "\\\\" }) ) + "\"";    else    return sprintf("{%d}\r\n%s", strlen(data), data);    }   }      class imap_list   {    array data;