Index: modules/blogapi.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/blogapi.module,v
retrieving revision 1.55
diff -u -F^f -r1.55 blogapi.module
--- modules/blogapi.module	30 Aug 2005 15:22:29 -0000	1.55
+++ modules/blogapi.module	31 Aug 2005 19:21:41 -0000
@@ -218,7 +218,7 @@ function blogapi_blogger_new_post($appke
     return blogapi_error(t('You do not have permission to create the type of post you wanted to create.'));
   }
 
-  node_save(&$node);
+  node_save($node);
   if ($node->nid) {
     watchdog('content', t('%type: added %title using blog API.', array('%type' => '<em>'. t($node->type) .'</em>', '%title' => theme('placeholder', $node->title))), WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
     return $nid;
@@ -276,7 +276,7 @@ function blogapi_blogger_edit_post($appk
   foreach ($terms as $term) {
     $node->taxonomy[] = $term->tid;
   }
-  node_save(&$node);
+  node_save($node);
   if ($node->nid) {
     watchdog('content', t('%type: updated %title using blog API.', array('%type' => '<em>'. t($node->type) .'</em>', '%title' => theme('placeholder', $node->title))), WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
     return true;
Index: modules/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node.module,v
retrieving revision 1.526
diff -u -F^f -r1.526 node.module
--- modules/node.module	30 Aug 2005 15:22:29 -0000	1.526
+++ modules/node.module	31 Aug 2005 19:21:42 -0000
@@ -400,7 +400,7 @@ function node_load($param = array(), $re
 /**
  * Save a node object into the database.
  */
-function node_save($node) {
+function node_save(&$node) {
   global $user;
 
   $node->is_new = false;
@@ -1573,7 +1573,7 @@ function node_submit(&$node) {
     // Check whether the current user has the proper access rights to
     // perform this operation:
     if (node_access('update', $node)) {
-      node_save(&$node);
+      node_save($node);
       watchdog('content', t('%type: updated %title.', array('%type' => theme('placeholder', t($node->type)), '%title' => theme('placeholder', $node->title))), WATCHDOG_NOTICE, l(t('view'), 'node/'. $node->nid));
       $msg = t('The %post was updated.', array ('%post' => node_get_name($node)));
     }
@@ -1582,7 +1582,7 @@ function node_submit(&$node) {
     // Check whether the current user has the proper access rights to
     // perform this operation:
     if (node_access('create', $node)) {
-      node_save(&$node);
+      node_save($node);
       watchdog('content', t('%type: added %title.', array('%type' => theme('placeholder', t($node->type)), '%title' => theme('placeholder', $node->title))), WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
       $msg = t('Your %post was created.', array ('%post' => node_get_name($node)));
     }
