Changeset c230bc1 for functions.c


Ignore:
Timestamp:
Mar 7, 2010, 10:26:22 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
a44cd91
Parents:
8d4b521
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 22:35:14)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:22)
Message:
Rename owl_zwrite_free to owl_zwrite_cleanup.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r8d4b521 rc230bc1  
    235235 
    236236  owl_message_create_from_zwrite(m, &zw, body);
    237   owl_zwrite_free(&zw);
     237  owl_zwrite_cleanup(&zw);
    238238
    239239  return(m);
     
    326326  if (ret) {
    327327    owl_function_error("Error in zwrite arguments");
    328     owl_zwrite_free(&z);
     328    owl_zwrite_cleanup(&z);
    329329    return;
    330330  }
     
    334334    owl_zwrite_send_ping(&z);
    335335  }
    336   owl_zwrite_free(&z);
     336  owl_zwrite_cleanup(&z);
    337337
    338338  owl_function_write_setup(line, "zephyr", &owl_callback_zwrite);
     
    391391
    392392  /* free the zwrite */
    393   owl_zwrite_free(&z);
     393  owl_zwrite_cleanup(&z);
    394394}
    395395
     
    417417    owl_function_error("Error in zcrypt, possibly no key found.  Message not sent.");
    418418    owl_function_beep();
    419     owl_zwrite_free(&z);
     419    owl_zwrite_cleanup(&z);
    420420    return;
    421421  }
     
    444444  /* free the zwrite */
    445445  owl_free(cryptmsg);
    446   owl_zwrite_free(&z);
     446  owl_zwrite_cleanup(&z);
    447447}
    448448
Note: See TracChangeset for help on using the changeset viewer.