Changeset 1c6c4d3 for zwrite.c


Ignore:
Timestamp:
Jun 30, 2002, 4:58:09 PM (19 years ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
507d5aa
Parents:
262422c
Message:
	Added owl_sprintf which returns the formatted string, or NULL.
	        The caller must free this string.
		This will allocate enough memory and thus
		avoid potential some buffer overrun situations.
	Started fixing some potential buffer overrun situations.
	Simple implementation of 'zwrite -m' (doesn't yet log an outgoing
	        message as having been sent.)
	The "Not logged in or subscribing to messages" error
	        now includes the name of the recipient.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zwrite.c

    r1aee7d9 r1c6c4d3  
    33
    44static const char fileIdent[] = "$Id$";
     5
     6int owl_zwrite_create_and_send_from_line(char *cmd, char *msg) {
     7  owl_zwrite z;
     8  int rv;
     9  rv = owl_zwrite_create_from_line(&z, cmd);
     10  if (rv) return(rv);
     11  owl_zwrite_send_message(&z, msg);
     12  owl_zwrite_free(&z);
     13  return(0);
     14}
    515
    616int owl_zwrite_create_from_line(owl_zwrite *z, char *line) {
Note: See TracChangeset for help on using the changeset viewer.