seahorse r2407 - in trunk: . ssh
- From: sadam svn gnome org
- To: svn-commits-list gnome org
- Subject: seahorse r2407 - in trunk: . ssh
- Date: Thu, 28 Aug 2008 20:38:49 +0000 (UTC)
Author: sadam
Date: Thu Aug 28 20:38:49 2008
New Revision: 2407
URL: http://svn.gnome.org/viewvc/seahorse?rev=2407&view=rev
Log:
2008-08-28 Adam Schreiber <sadam clemson edu>
* ssh/seahorse-ssh-operation.c: Don't round up to the next highest
power of 2
bytes. Fixes bug #549747. Happy Birthday to me :)
Modified:
trunk/ChangeLog
trunk/ssh/seahorse-ssh-operation.c
Modified: trunk/ssh/seahorse-ssh-operation.c
==============================================================================
--- trunk/ssh/seahorse-ssh-operation.c (original)
+++ trunk/ssh/seahorse-ssh-operation.c Thu Aug 28 20:38:49 2008
@@ -738,7 +738,7 @@
SeahorseOperation *op;
GMemoryOutputStream *output;
gchar *data;
- size_t length;
+ size_t length, size, strl;
gchar *cmd;
g_return_val_if_fail (keys != NULL, NULL);
@@ -783,7 +783,7 @@
port ? port : "");
data = g_memory_output_stream_get_data (output);
- length = seahorse_util_memory_output_length (output);
+ length = strlen (data);
g_object_unref (output);
op = seahorse_ssh_operation_new (ssrc, cmd, data, length, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]