Changeset ae0a5fc


Ignore:
Timestamp:
Jun 25, 2003, 9:11:57 AM (17 years ago)
Author:
James M. Kretchmar <kretch@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:
ab31454
Parents:
b7d13f7
Message:
Remove bogus initial space from zwrite -m messages.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    ra8938c7 rae0a5fc  
    26262.0.4-pre-1
    2727        Make command line option -n actualy work
    28 
    2928        'set style' now works.  Possbile values at the moment are
    3029           'default' 'basic' or 'perl', but the last only if a
  • zwrite.c

    rce7db4d rae0a5fc  
    9696      while (myargc) {
    9797        z->message=realloc(z->message, strlen(z->message)+strlen(myargv[0])+5);
     98        strcat(z->message, myargv[0]);
    9899        strcat(z->message, " ");
    99         strcat(z->message, myargv[0]);
    100100        myargc--;
    101101        myargv++;
    102102      }
     103      z->message[strlen(z->message)-1]='\0'; /* remove last space */
    103104      break;
    104105    } else if (!strcmp(myargv[0], "-C")) {
Note: See TracChangeset for help on using the changeset viewer.