aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits/todo/todo-conduit.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:07:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:07:42 +0800
commitfa360fde289f9b850191f89059d1a5e6d67c07c7 (patch)
treed1d8a43364d21daf94d5b9ac1f352faffd03dcd2 /calendar/conduits/todo/todo-conduit.c
parentbecd78e26ed61ff386d0b229f85bdcf590c28e94 (diff)
downloadgsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.gz
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.bz2
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.lz
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.xz
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.zst
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.zip
More whitespace cleanup.
Diffstat (limited to 'calendar/conduits/todo/todo-conduit.c')
-rw-r--r--calendar/conduits/todo/todo-conduit.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index 42e79d778c..89e012bfd7 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -402,11 +402,11 @@ static gchar *print_remote (GnomePilotRecord *remote)
memset (&todo, 0, sizeof (struct ToDo));
#ifdef PILOT_LINK_0_12
buffer = pi_buffer_new(DLP_BUF_SIZE);
- if(buffer == NULL){
+ if (buffer == NULL) {
sprintf (buff, "[NULL]");
return buff;
}
- if(pi_buffer_append(buffer, remote->record, remote->length)==NULL){
+ if (pi_buffer_append(buffer, remote->record, remote->length)==NULL) {
sprintf (buff, "[NULL]");
return buff;
}
@@ -623,7 +623,7 @@ local_record_to_pilot_record (EToDoLocalRecord *local,
/* Generate pilot record structure */
#ifdef PILOT_LINK_0_12
buffer = pi_buffer_new(DLP_BUF_SIZE);
- if(buffer == NULL){
+ if (buffer == NULL) {
pi_set_error(ctxt->dbi->pilot_socket, PI_ERR_GENERIC_MEMORY);
return p;
}
@@ -678,7 +678,7 @@ local_record_from_comp (EToDoLocalRecord *local, ECalComponent *comp, EToDoCondu
#ifdef PILOT_LINK_0_12
pi_buffer_t * record;
record = pi_buffer_new(DLP_BUF_SIZE);
- if(record == NULL){
+ if (record == NULL) {
pi_set_error(ctxt->dbi->pilot_socket, PI_ERR_GENERIC_MEMORY);
return;
}
@@ -828,11 +828,11 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit,
#ifdef PILOT_LINK_0_12
buffer = pi_buffer_new(DLP_BUF_SIZE);
- if(buffer == NULL){
+ if (buffer == NULL) {
return NULL;
}
- if(pi_buffer_append(buffer, remote->record, remote->length)==NULL){
+ if (pi_buffer_append(buffer, remote->record, remote->length)==NULL) {
return NULL;
}
@@ -1075,7 +1075,7 @@ pre_sync (GnomePilotConduit *conduit,
#ifdef PILOT_LINK_0_12
buffer = pi_buffer_new(DLP_BUF_SIZE);
- if(buffer == NULL){
+ if (buffer == NULL) {
pi_set_error(dbi->pilot_socket, PI_ERR_GENERIC_MEMORY);
return -1;
}