From aeebf98f4ca24050e105124ce8c27fc7260c9db0 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 14 Dec 2012 04:45:05 -0500 Subject: [PATCH] Slight style cleanup. --- libmemcached/fetch.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmemcached/fetch.cc b/libmemcached/fetch.cc index 70e5bf75..76663703 100644 --- a/libmemcached/fetch.cc +++ b/libmemcached/fetch.cc @@ -2,7 +2,7 @@ * * Libmemcached library * - * Copyright (C) 2011 Data Differential, http://datadifferential.com/ + * Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/ * Copyright (C) 2006-2009 Brian Aker All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,6 @@ char *memcached_fetch(memcached_st *ptr, char *key, size_t *key_length, uint32_t *flags, memcached_return_t *error) { - memcached_result_st *result_buffer= &ptr->result; memcached_return_t unused; if (error == NULL) { @@ -75,6 +74,7 @@ char *memcached_fetch(memcached_st *ptr, char *key, size_t *key_length, return NULL; } + memcached_result_st *result_buffer= &ptr->result; result_buffer= memcached_fetch_result(ptr, result_buffer, error); if (result_buffer == NULL or memcached_failed(*error)) { -- 2.30.2