while (bufsize > MAX_SCP_BUFSIZE) { if (!scp_process_network_event()) return 1; bufsize = back->sendbuffer();
while (bufsize > MAX_SCP_BUFSIZE) { if (!scp_process_network_event()) return 1; bufsize = back->sendbuffer(); }  return 0;
int scp_send_filedata(char *data, int len){    int bufsize = back->send(data, len);    /*     * If the network transfer is backing up - that is, the remote     * site is not accepting data as fast as we can produce it -     * then we must loop on network events until we have space in     * the buffer again.     */    while (bufsize > MAX_SCP_BUFSIZE) {	if (!scp_process_network_event())	    return 1;	bufsize = back->sendbuffer();    }    return 0;}