Changeset 2de4f20
- Timestamp:
- Dec 22, 2003, 8:43:30 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 952bb256
- Parents:
- b0430a6
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rb0430a6 r2de4f20 3415 3415 if (notify) { 3416 3416 m=owl_malloc(sizeof(owl_message)); 3417 owl_message_create_pseudo_zlogin(m, 1, user, location[0].host, location[0].time, location[0].tty);3417 owl_message_create_pseudo_zlogin(m, 1, user, "", "", ""); 3418 3418 owl_global_messagequeue_addmsg(&g, m); 3419 3419 } -
message.c
rb0430a6 r2de4f20 861 861 862 862 /* save the hostname */ 863 owl_function_debugmsg("create_pseudo_login: host is %s", host );863 owl_function_debugmsg("create_pseudo_login: host is %s", host ? host : ""); 864 864 strcpy(m->hostname, host ? host : ""); 865 865 owl_free(longuser); -
text.c
rf82e233 r2de4f20 7 7 static const char fileIdent[] = "$Id$"; 8 8 9 /* start with line aline (where the first line is 1) and print 'lines' 10 * lines 11 */ 9 12 int owl_text_truncate_lines(char *out, char *in, int aline, int lines) 10 13 { 11 /* start with line aline (where the first line is 1) and print12 * 'lines' lines13 */14 14 char *ptr1, *ptr2; 15 15 int i; … … 45 45 } 46 46 47 48 /* the first column is column 0. The message is expected to end in a 49 * new line for now */ 47 50 void owl_text_truncate_cols(char *out, char *in, int acol, int bcol) 48 51 { 49 52 char *ptr1, *ptr2, *tmpbuff, *last; 50 53 int len; 51 52 /* the first column is column 0 */53 54 /* the message is expected to end in a new line for now */55 54 56 55 tmpbuff=owl_malloc(strlen(in)+20); -
zephyr.c
rb0430a6 r2de4f20 66 66 } 67 67 68 /* return 0 on success 69 * -1 on file error 70 * -2 on subscription error 71 */ 68 72 int owl_zephyr_loadsubs(char *filename) 69 73 { 70 74 #ifdef HAVE_LIBZEPHYR 71 /* return 0 on success72 * -1 on file error73 * -2 on subscription error74 */75 75 FILE *file; 76 76 char *tmp, *start; … … 475 475 476 476 /* bail if it doesn't look like a message we should reply to. Some 477 of this defined by the way zaway(1) works */ 477 * of this defined by the way zaway(1) works 478 */ 478 479 if (strcasecmp(owl_message_get_class(m), "message")) return; 479 480 if (strcasecmp(owl_message_get_recipient(m), ZGetSender())) return; … … 737 738 #endif 738 739 739 /* returns a buffer of subscriptions or an error message.740 * Caller mustfree the return.740 /* Returns a buffer of subscriptions or an error message. Caller must 741 * free the return. 741 742 */ 742 743 char *owl_zephyr_getsubs()
Note: See TracChangeset
for help on using the changeset viewer.