~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

  • Committer: Brian Aker
  • Date: 2010-10-28 22:12:04 UTC
  • mfrom: (1888.1.3 merge)
  • Revision ID: brian@tangent.org-20101028221204-52kwxz7yjvjo1s6c
Rollup of build. Includes client work and documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1801
1801
 
1802
1802
  if (sig >= 0)
1803
1803
    put_info(sig ? _("Aborted") : _("Bye"), INFO_RESULT,0,0);
1804
 
  if (glob_buffer)
1805
 
    delete glob_buffer;
1806
 
  if (processed_prompt)
1807
 
    delete processed_prompt;
 
1804
  delete glob_buffer;
 
1805
  delete processed_prompt;
1808
1806
  opt_password.erase();
1809
1807
  free(histfile);
1810
1808
  free(histfile_tmp);
3586
3584
  /* Skip the spaces between the command and the argument */
3587
3585
  while (param && isspace(*param))
3588
3586
    param++;
3589
 
  if (!param || !strlen(param)) // if pager was not given, use the default
 
3587
  if (!param || (*param == '\0')) // if pager was not given, use the default
3590
3588
  {
3591
3589
    if (!default_pager_set)
3592
3590
    {