Skip to content
Snippets Groups Projects
  • rswindell's avatar
    798661ad
    Force binkit_to_addr to be an object (FIDO.Addr) to prevent the error: · 798661ad
    rswindell authored
      line 205: TypeError: addr.flo_outbound is not a function
    when callout() is called with a string as the first argument.
    Dan_C was trying to send an outbox file to a link with no binkp password which results in callout() being called with a string for the first argument
    (addr) due to this logic in callout_auth_cb():
    	if (!bp.cb_data.binkitpw || bp.cb_data.binkitpw === '-')
    		addrs.push(bp.cb_data.binkit_to_addr);
    798661ad
    History
    Force binkit_to_addr to be an object (FIDO.Addr) to prevent the error:
    rswindell authored
      line 205: TypeError: addr.flo_outbound is not a function
    when callout() is called with a string as the first argument.
    Dan_C was trying to send an outbox file to a link with no binkp password which results in callout() being called with a string for the first argument
    (addr) due to this logic in callout_auth_cb():
    	if (!bp.cb_data.binkitpw || bp.cb_data.binkitpw === '-')
    		addrs.push(bp.cb_data.binkit_to_addr);