Ignore:
Timestamp:
Feb 15, 2007, 12:27:39 AM (13 years ago)
Author:
Bruno Cornec
Message:

strip_spaces => mr_strip_spaces in mr_str.c and corrected at the same time :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/newt-specific.c

    r1123 r1168  
    2121#include "mr_mem.h"
    2222#include "mr_msg.h"
     23#include "mr_str.h"
     24
    2325#include "mondostructures.h"
    2426#include "newt-specific.h"
     
    466468                    (void) fgets(err_log_lines[i], MAX_NEWT_COMMENT_LEN,
    467469                                 fin);
    468                     strip_spaces(err_log_lines[i]);
     470                    mr_strip_spaces(err_log_lines[i]);
    469471                    if (!strncmp(err_log_lines[i], "root:", 5)) {
    470472                        strcpy(tmp, err_log_lines[i] + 6);
     
    12591261                printf(")\n--> ");
    12601262                (void) fgets(outstr, MAX_NEWT_COMMENT_LEN, stdin);
    1261                 strip_spaces(outstr);
     1263                mr_strip_spaces(outstr);
    12621264                for (i = 0; possible_responses[i]; i++) {
    12631265                    if (!strcmp(possible_responses[i], outstr)) {
Note: See TracChangeset for help on using the changeset viewer.