Changeset 3f3ee61
- Timestamp:
- Oct 29, 2008, 9:38:18 PM (16 years ago)
- Branches:
- master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 7e78e49
- Parents:
- e979da9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r559076c r3f3ee61 378 378 /* create the zwrite and send the message */ 379 379 owl_zwrite_create_from_line(&z, line); 380 owl_zwrite_populate_zsig(&z); 380 381 if (msg) { 381 382 owl_zwrite_set_message(&z, msg); … … 416 417 /* create the zwrite and send the message */ 417 418 owl_zwrite_create_from_line(&z, line); 419 owl_zwrite_populate_zsig(&z); 418 420 if (msg) { 419 421 owl_zwrite_set_message(&z, msg); -
zwrite.c
r7b1d048 r3f3ee61 11 11 int argc, badargs, myargc; 12 12 char **argv, **myargv; 13 char *zsigproc, *zsigowlvar, *zsigzvar, *ptr;14 struct passwd *pw;15 13 16 14 badargs=0; … … 139 137 /* z->message is allowed to stay NULL */ 140 138 139 return(0); 140 } 141 142 void owl_zwrite_populate_zsig(owl_zwrite *z) 143 { 144 char *zsigproc, *zsigowlvar, *zsigzvar, *ptr; 145 struct passwd *pw; 146 141 147 /* get a zsig, if not given */ 142 148 if (z->zsig==NULL) { … … 184 190 } 185 191 } 186 187 return(0);188 192 } 189 193 … … 285 289 owl_zwrite_set_message(&z, msg); 286 290 } 291 owl_zwrite_populate_zsig(&z); 287 292 owl_zwrite_send_message(&z); 288 293 owl_zwrite_free(&z); … … 358 363 return(0); 359 364 } 360 365 361 366 void owl_zwrite_free(owl_zwrite *z) 362 367 {
Note: See TracChangeset
for help on using the changeset viewer.