Changeset d4927a7 for functions.c
- Timestamp:
- Feb 11, 2011, 4:31:46 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 3472845
- Parents:
- ddbbcffa
- git-author:
- Anders Kaseorg <andersk@mit.edu> (08/27/09 00:55:10)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rddbbcffa rd4927a7 358 358 owl_function_start_edit_win(line, 359 359 &owl_callback_aimwrite, 360 owl_strdup(to),360 g_strdup(to), 361 361 g_free); 362 362 g_free(line); … … 436 436 owl_zwrite_set_message(z, msg); 437 437 } 438 old_msg = owl_strdup(owl_zwrite_get_message(z));438 old_msg = g_strdup(owl_zwrite_get_message(z)); 439 439 440 440 zcrypt = owl_sprintf("%s/zcrypt", owl_get_bindir()); … … 491 491 492 492 /* make a formatted copy of the message */ 493 format_msg = owl_strdup(msg);493 format_msg = g_strdup(msg); 494 494 if (unwrap) 495 495 owl_text_wordunwrap(format_msg); … … 522 522 523 523 /* make a formatted copy of the message */ 524 format_msg= owl_strdup(msg);524 format_msg=g_strdup(msg); 525 525 owl_text_wordunwrap(format_msg); 526 526 … … 2191 2191 2192 2192 if (!strncmp(filtername, "not-", 4)) { 2193 newname= owl_strdup(filtername+4);2193 newname=g_strdup(filtername+4); 2194 2194 } else { 2195 2195 newname=owl_sprintf("not-%s", filtername); … … 2297 2297 } 2298 2298 } else { 2299 class = owl_strdup(c);2299 class = g_strdup(c); 2300 2300 if (i) { 2301 instance = owl_strdup(i);2301 instance = g_strdup(i); 2302 2302 } 2303 2303 } … … 2429 2429 /* if it already exists then go with it. This lets users override */ 2430 2430 if (owl_global_get_filter(&g, filtname)) { 2431 return( owl_strdup(filtname));2431 return(g_strdup(filtname)); 2432 2432 } 2433 2433 … … 3051 3051 timestr=owl_util_minutes_to_timestr(idle); 3052 3052 } else { 3053 timestr= owl_strdup("");3053 timestr=g_strdup(""); 3054 3054 } 3055 3055 owl_fmtext_appendf_normal(&fm, " %-20.20s %-12.12s\n", owl_buddy_get_name(b), timestr); … … 3286 3286 if (!filename) { 3287 3287 fail_silent = 1; 3288 path = owl_strdup(owl_global_get_startupfile(&g));3288 path = g_strdup(owl_global_get_startupfile(&g)); 3289 3289 } else { 3290 3290 path = owl_util_makepath(filename); … … 3389 3389 3390 3390 now=time(NULL); 3391 date= owl_strdup(ctime(&now));3391 date=g_strdup(ctime(&now)); 3392 3392 date[strlen(date)-1]='\0'; 3393 3393
Note: See TracChangeset
for help on using the changeset viewer.