Home
last modified time | relevance | path

Searched refs:motdbuf (Results 1 – 1 of 1) sorted by relevance

/external/dropbear/
Dsvr-chansession.c739 buffer * motdbuf = NULL; in ptycommand() local
805 motdbuf = buf_new(80 * 25); in ptycommand()
806 if (buf_readfile(motdbuf, MOTD_FILENAME) == DROPBEAR_SUCCESS) { in ptycommand()
807 buf_setpos(motdbuf, 0); in ptycommand()
808 while (motdbuf->pos != motdbuf->len) { in ptycommand()
809 len = motdbuf->len - motdbuf->pos; in ptycommand()
811 buf_getptr(motdbuf, len), len); in ptycommand()
812 buf_incrpos(motdbuf, len); in ptycommand()
815 buf_free(motdbuf); in ptycommand()