~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to lib/version.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-02-08 11:20:41 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080208112041-hed7sb5r6ghmjf8v
Tags: upstream-7.18.0
ImportĀ upstreamĀ versionĀ 7.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *                            | (__| |_| |  _ <| |___
6
6
 *                             \___|\___/|_| \_\_____|
7
7
 *
8
 
 * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
 
8
 * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
9
9
 *
10
10
 * This software is licensed as described in the file COPYING, which
11
11
 * you should have received as part of this distribution. The terms
18
18
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
 * KIND, either express or implied.
20
20
 *
21
 
 * $Id: version.c,v 1.55 2007-08-24 09:06:17 patrickm Exp $
 
21
 * $Id: version.c,v 1.56 2007-11-07 09:21:36 bagder Exp $
22
22
 ***************************************************************************/
23
23
 
24
24
#include "setup.h"
61
61
  left -= len;
62
62
  ptr += len;
63
63
 
64
 
  if (left > 1) {
 
64
  if(left > 1) {
65
65
    len = Curl_ssl_version(ptr + 1, left - 1);
66
66
 
67
 
    if (len > 0) {
 
67
    if(len > 0) {
68
68
      *ptr = ' ';
69
69
      left -= ++len;
70
70
      ptr += len;