diff options
author | Not Zed <NotZed@Ximian.com> | 2003-08-30 09:04:38 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-08-30 09:04:38 +0800 |
commit | fb01e36abca22dfcb893e2dc624e75a5aa2ea169 (patch) | |
tree | 7b253c0d67b83e622c35a9bbbffdc3f2028d1120 /camel | |
parent | 32a455a0a580afc475a4b12fdf72fe5e79572065 (diff) | |
download | gsoc2013-evolution-fb01e36abca22dfcb893e2dc624e75a5aa2ea169.tar.gz gsoc2013-evolution-fb01e36abca22dfcb893e2dc624e75a5aa2ea169.tar.zst gsoc2013-evolution-fb01e36abca22dfcb893e2dc624e75a5aa2ea169.zip |
removed debug printfs.
2003-08-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (camel_object_state_write):
(cobject_getv):
(cobject_setv, cobject_state_read, cobject_state_read)
(cobject_state_write): removed debug printfs.
svn path=/trunk/; revision=22419
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-object.c | 12 |
2 files changed, 5 insertions, 12 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index bffcdeeac7..073d3b6c26 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,10 @@ 2003-08-29 Not Zed <NotZed@Ximian.com> + * camel-object.c (camel_object_state_write): + (cobject_getv): + (cobject_setv, cobject_state_read, cobject_state_read) + (cobject_state_write): removed debug printfs. + * providers/local/camel-local-folder.c (local_getv): Need to copy the local properties list before passing it out, since it's freed. diff --git a/camel/camel-object.c b/camel/camel-object.c index 02fd3861bf..31d458a59d 100644 --- a/camel/camel-object.c +++ b/camel/camel-object.c @@ -242,9 +242,7 @@ cobject_getv(CamelObject *o, CamelException *ex, CamelArgGetV *args) case CAMEL_OBJECT_ARG_STATE_FILE: { CamelHookPair *pair = co_metadata_pair(o, FALSE); - printf("getting state file\n"); if (pair) { - printf(" -> '%s'\n", pair->func.filename); *arg->ca_str = g_strdup(pair->func.filename); camel_object_unget_hooks(o); } @@ -271,8 +269,6 @@ cobject_setv(CamelObject *o, CamelException *ex, CamelArgV *args) case CAMEL_OBJECT_ARG_STATE_FILE: { CamelHookPair *pair; - printf("setting state file to '%s'\n", arg->ca_str); - /* We store the filename on the meta-data hook-pair */ pair = co_metadata_pair(o, TRUE); g_free(pair->func.filename); @@ -406,8 +402,6 @@ cobject_state_read(CamelObject *obj, FILE *fp) || camel_file_util_decode_uint32(fp, &count) == -1) return -1; - printf("loading persistent meta-data\n"); - for (i=0;i<count;i++) { char *name = NULL, *value = NULL; @@ -427,8 +421,6 @@ cobject_state_read(CamelObject *obj, FILE *fp) if (version > 0) { CamelArgV *argv; - printf("loading persistent properties\n"); - if (camel_file_util_decode_uint32(fp, &count) == -1 || count == 0) { /* maybe it was just version 0 afterall */ @@ -513,8 +505,6 @@ cobject_state_write(CamelObject *obj, FILE *fp) count = g_slist_length(props); - printf("saving persistent properties, count = %d\n", count); - arggetv = g_malloc0(sizeof(*arggetv) + (count - CAMEL_ARGV_MAX) * sizeof(arggetv->argv[0])); argv = g_malloc0(sizeof(*argv) + (count - CAMEL_ARGV_MAX) * sizeof(argv->argv[0])); l = props; @@ -1502,8 +1492,6 @@ int camel_object_state_write(void *vo) if (file == NULL) return 0; - printf("camel_object_state_write -> '%s'\n", file); - savename = camel_file_util_savename(file); fp = fopen(savename, "w"); if (fp != NULL) { |