Changeset 060b3b4
- Timestamp:
- Feb 19, 2003, 12:08:41 AM (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:
- ced25d1
- Parents:
- 89426ab
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r89426ab r060b3b4 18 18 The 'all' filter has been redefinied to be 'true' and there is a 19 19 'none' filter defined as 'false' 20 Fixed bug in 'unsub' command that could cause file corruption 20 21 21 22 1.2.8 -
editwin.c
r601a9e0 r060b3b4 49 49 50 50 WINDOW *owl_editwin_get_curswin(owl_editwin *e) { 51 return e->curswin;51 return(e->curswin); 52 52 } 53 53 54 54 void owl_editwin_set_history(owl_editwin *e, owl_history *h) { 55 e->hist =h;55 e->hist=h; 56 56 } 57 57 58 58 owl_history *owl_editwin_get_history(owl_editwin *e) { 59 return e->hist;59 return(e->hist); 60 60 } 61 61 … … 66 66 int owl_editwin_limit_maxcols(int v, int maxv) { 67 67 if (maxv > 5 && v > maxv) { 68 return maxv;68 return(maxv); 69 69 } else { 70 return v;70 return(v); 71 71 } 72 72 } -
functions.c
rd0d65df r060b3b4 1193 1193 } 1194 1194 1195 sprintf(buff, "Checkd Ath: %i\n", buff,n->z_checked_auth);1195 sprintf(buff, "Checkd Ath: %i\n", n->z_checked_auth); 1196 1196 sprintf(buff, "%sMulti notc: %s\n", buff, n->z_multinotice); 1197 1197 sprintf(buff, "%sNum other : %i\n", buff, n->z_num_other_fields); -
zephyr.c
raecf3e6 r060b3b4 477 477 /* we'll read the entire file into memory, minus the line we don't want and 478 478 * and at the same time create a backup file */ 479 text=malloc(LINE); 479 text=owl_malloc(LINE); 480 strcpy(text, ""); 480 481 size=LINE; 481 482 while (fgets(buff, LINE, file)!=NULL) { … … 483 484 if (strcasecmp(buff, line)) { 484 485 size+=LINE; 485 text= realloc(text, size);486 text=owl_realloc(text, size); 486 487 strcat(text, buff); 487 488 }
Note: See TracChangeset
for help on using the changeset viewer.