Merge lp:~brianaker/gearmand/vcs-check into lp:gearmand

Proposed by Brian Aker
Status: Merged
Merged at revision: 867
Proposed branch: lp:~brianaker/gearmand/vcs-check
Merge into: lp:gearmand
Diff against target: 44 lines (+5/-1)
1 file modified
libgearman-server/plugins/protocol/gear/protocol.cc (+5/-1)
To merge this branch: bzr merge lp:~brianaker/gearmand/vcs-check
Reviewer Review Type Date Requested Status
Tangent Trunk Pending
Review via email: mp+181726@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'libgearman-server/plugins/protocol/gear/protocol.cc'
--- libgearman-server/plugins/protocol/gear/protocol.cc 2013-08-07 22:23:36 +0000
+++ libgearman-server/plugins/protocol/gear/protocol.cc 2013-08-23 07:09:25 +0000
@@ -2,7 +2,7 @@
2 * 2 *
3 * Gearmand client and server library.3 * Gearmand client and server library.
4 *4 *
5 * Copyright (C) 2012 Data Differential, http://datadifferential.com/5 * Copyright (C) 2012-2013 Data Differential, http://datadifferential.com/
6 * All rights reserved.6 * All rights reserved.
7 *7 *
8 * Redistribution and use in source and binary forms, with or without8 * Redistribution and use in source and binary forms, with or without
@@ -229,6 +229,7 @@
229 }229 }
230 }230 }
231231
232#if defined(VCS_CHECKOUT) && VCS_CHECKOUT
232 if (packet->command == GEARMAN_COMMAND_ECHO_REQ and packet->data_size)233 if (packet->command == GEARMAN_COMMAND_ECHO_REQ and packet->data_size)
233 {234 {
234 gearmand_log_debug(GEARMAN_DEFAULT_LOG_PARAM,235 gearmand_log_debug(GEARMAN_DEFAULT_LOG_PARAM,
@@ -284,6 +285,7 @@
284 "GEAR %s",285 "GEAR %s",
285 gearman_strcommand(packet->command));286 gearman_strcommand(packet->command));
286 }287 }
288#endif
287289
288 ret_ptr= GEARMAND_SUCCESS;290 ret_ptr= GEARMAND_SUCCESS;
289 return used_size;291 return used_size;
@@ -294,6 +296,7 @@
294 void *data, const size_t data_size,296 void *data, const size_t data_size,
295 gearmand_error_t& ret_ptr)297 gearmand_error_t& ret_ptr)
296 {298 {
299#if defined(VCS_CHECKOUT) && VCS_CHECKOUT
297 if (packet->command == GEARMAN_COMMAND_ECHO_RES and packet->data_size)300 if (packet->command == GEARMAN_COMMAND_ECHO_RES and packet->data_size)
298 {301 {
299 gearmand_log_debug(GEARMAN_DEFAULT_LOG_PARAM,302 gearmand_log_debug(GEARMAN_DEFAULT_LOG_PARAM,
@@ -315,6 +318,7 @@
315 "GEAR %s",318 "GEAR %s",
316 gearman_strcommand(packet->command));319 gearman_strcommand(packet->command));
317 }320 }
321#endif
318322
319 if (packet->args_size == 0)323 if (packet->args_size == 0)
320 {324 {

Subscribers

People subscribed via source and target branches

to all changes: